Bagikan melalui


WebSocket.CreateServerBuffer(Int32) Metode

Definisi

Membuat buffer server 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)

Parameter

receiveBufferSize
Int32

Ukuran, dalam byte, dari buffer yang diinginkan.

Mengembalikan

Menampilkan ArraySegment<T>.

Berlaku untuk