แก้ไข

แชร์ผ่าน


WebSocket.CreateClientBuffer(Int32, Int32) Method

Definition

Create client buffers to use with this WebSocket instance.

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)

Parameters

receiveBufferSize
Int32

The size, in bytes, of the client receive buffer.

sendBufferSize
Int32

The size, in bytes, of the send buffer.

Returns

An array with the client buffers.

Applies to