Decoder.TryDecodeUnsignedInteger Method |
Tries to decode the given FAST stream chunk into the corresponding unsigned integer value.
Namespace:
FIXForge.NET.FIX.FAST
Assembly:
FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax public static bool TryDecodeUnsignedInteger(
byte[] buffer,
int offset,
int count,
out int chunkLength,
out int value
)
Parameters
- buffer
- Type: System.Byte[]
An array of bytes that contains the source FAST stream chunk. - offset
- Type: System.Int32
The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
- count
- Type: System.Int32
The number of bytes to be processed. - chunkLength
- Type: System.Int32
The length of the binary chunk that contains the encoded unsigned integer value. - value
- Type: System.Int32
Decoded unsigned int value.
Return Value
Type:
Booleantrue if the stream chunk was decoded, false otherwise.
See Also