Partager via


WebSocket.CreateServerBuffer(Int32) Méthode

Définition

Crée une mémoire tampon 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)

Paramètres

receiveBufferSize
Int32

Taille en octets, de la mémoire tampon désirée.

Retours

Retourne ArraySegment<T>.

S’applique à