public static CreateClientBuffer ( int receiveBufferSize, int sendBufferSize ) : System.ArraySegment |
||
receiveBufferSize | int | |
sendBufferSize | int | |
return | System.ArraySegment |
internal ArraySegment <byte> GetOrCreateBuffer() { if (!buffer.HasValue) { buffer = WebSocket.CreateClientBuffer(receiveBufferSize, sendBufferSize); } return(buffer.Value); }