WebSocket.CreateClientBuffer(Int32, Int32) Yöntem

Tanım

Bu WebSocket örnekle kullanılacak istemci arabellekleri oluşturun.

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

Parametreler

receiveBufferSize
Int32

İstemci alma arabelleğinin bayt cinsinden boyutu.

sendBufferSize
Int32

Gönderme arabelleğinin bayt cinsinden boyutu.

Döndürülenler

İstemci arabellekleri olan bir dizi.

Şunlara uygulanır