Share via


WebSocket.CreateClientBuffer(Int32, Int32) Yöntem

Tanım

bu WebSocket örnekle kullanılacak istemci arabelleklerini İçerik Oluşturucu.

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 arabelleklerine sahip bir dizi.

Şunlara uygulanır