private static DecodeBool ( byte buffer, int &offset ) : bool | ||
buffer | byte | |
offset | int | |
return | bool |
private static bool DecodeBool(byte[] buffer, ref int offset)
{
var value = buffer[offset] != 0;
offset += 1;
return value;
}