Method | Description | |
---|---|---|
TryDecodeCloseReason ( byte closePayload, ushort &statusCode, string &reason ) : bool | ||
TryDecodeHeader ( byte buffer, int &dataStart, int end, bool &isFin, OpCode &opCode, bool &isMasked, int &payloadLength, byte mask ) : bool | ||
TryDecodePayload ( byte buffer, int &start, int end, int payloadLength, bool isMasked, byte mask ) : bool |
Method | Description | |
---|---|---|
GetOpCode ( int b ) : OpCode |
public static TryDecodeCloseReason ( byte closePayload, ushort &statusCode, string &reason ) : bool | ||
closePayload | byte | |
statusCode | ushort | |
reason | string | |
return | bool |
public static TryDecodeHeader ( byte buffer, int &dataStart, int end, bool &isFin, OpCode &opCode, bool &isMasked, int &payloadLength, byte mask ) : bool | ||
buffer | byte | |
dataStart | int | |
end | int | |
isFin | bool | |
opCode | OpCode | |
isMasked | bool | |
payloadLength | int | |
mask | byte | |
return | bool |
public static TryDecodePayload ( byte buffer, int &start, int end, int payloadLength, bool isMasked, byte mask ) : bool | ||
buffer | byte | |
start | int | |
end | int | |
payloadLength | int | |
isMasked | bool | |
mask | byte | |
return | bool |