WebSocket.CreateServerBuffer(Int32) 方法

定義

建立 WebSocket 伺服器緩衝區。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)

參數

receiveBufferSize
Int32

所需緩衝區的大小 (以位元組為單位)。The size, in bytes, of the desired buffer.

傳回

適用於