DecoderHelper.TryDecodeUnsignedInt16 Method |
Try to decode unsigned 16 bit integer.
Namespace:
OnixS.SimpleBinaryEncoding
Assembly:
OnixS.SimpleBinaryEncoding-net-4.7 (in OnixS.SimpleBinaryEncoding-net-4.7.dll) Version: 2.3.1.0 (2.3.1.0)
Syntax public static bool TryDecodeUnsignedInt16(
byte* buffer,
int offset,
int length,
out ushort decodedLength
)
Parameters
- buffer
- Type: System.Byte*
Buffer which contains encoded value. - offset
- Type: System.Int32
Value offset. - length
- Type: System.Int32
Length of available data. - decodedLength
- Type: System.UInt16
Length of decoded data.
Return Value
Type:
BooleanTrue if decode success, false otherwise.
See Also