Partilhar via


WebSocket.CreateServerBuffer(Int32) Método

Definição

Cria um buffer de servidor WebSocket.

public:
 static ArraySegment<System::Byte> CreateServerBuffer(int receiveBufferSize);
public static ArraySegment<byte> CreateServerBuffer (int receiveBufferSize);
static member CreateServerBuffer : int -> ArraySegment<byte>
Public Shared Function CreateServerBuffer (receiveBufferSize As Integer) As ArraySegment(Of Byte)

Parâmetros

receiveBufferSize
Int32

O tamanho, em bytes, do buffer desejado.

Retornos

Retorna ArraySegment<T>.

Aplica-se a