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>

适用于