Uredi

Deli z drugimi prek


WebSocket.CreateServerBuffer(Int32) Method

Definition

Creates a WebSocket server buffer.

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)

Parameters

receiveBufferSize
Int32

The size, in bytes, of the desired buffer.

Returns

Returns ArraySegment<T>.

Applies to