共用方式為


WebSocket.CreateServerBuffer(Int32) 方法

定義

建立 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)

參數

receiveBufferSize
Int32

所需緩衝區的大小 (以位元組為單位)。

傳回

傳回 ArraySegment<T>

適用於