Method ReadValueBitPacked
ReadValueBitPacked(FastBufferReader, out short)
Read a bit-packed 14-bit signed short from the stream. See BytePacker.cs for a description of the format.
Declaration
public static void ReadValueBitPacked(FastBufferReader reader, out short value)
Parameters
Type | Name | Description |
---|---|---|
FastBufferReader | reader | The reader to read from |
short | value | The value to read |
ReadValueBitPacked(FastBufferReader, out ushort)
Read a bit-packed 15-bit unsigned short from the stream. See BytePacker.cs for a description of the format.
Declaration
public static void ReadValueBitPacked(FastBufferReader reader, out ushort value)
Parameters
Type | Name | Description |
---|---|---|
FastBufferReader | reader | The reader to read from |
ushort | value | The value to read |
ReadValueBitPacked(FastBufferReader, out int)
Read a bit-packed 29-bit signed int from the stream. See BytePacker.cs for a description of the format.
Declaration
public static void ReadValueBitPacked(FastBufferReader reader, out int value)
Parameters
Type | Name | Description |
---|---|---|
FastBufferReader | reader | The reader to read from |
int | value | The value to read |
ReadValueBitPacked(FastBufferReader, out uint)
Read a bit-packed 30-bit unsigned int from the stream. See BytePacker.cs for a description of the format.
Declaration
public static void ReadValueBitPacked(FastBufferReader reader, out uint value)
Parameters
Type | Name | Description |
---|---|---|
FastBufferReader | reader | The reader to read from |
uint | value | The value to read |
ReadValueBitPacked(FastBufferReader, out long)
Read a bit-packed 60-bit signed long from the stream. See BytePacker.cs for a description of the format.
Declaration
public static void ReadValueBitPacked(FastBufferReader reader, out long value)
Parameters
Type | Name | Description |
---|---|---|
FastBufferReader | reader | The reader to read from |
long | value | The value to read |
ReadValueBitPacked(FastBufferReader, out ulong)
Read a bit-packed 61-bit signed long from the stream. See BytePacker.cs for a description of the format.
Declaration
public static void ReadValueBitPacked(FastBufferReader reader, out ulong value)
Parameters
Type | Name | Description |
---|---|---|
FastBufferReader | reader | The reader to read from |
ulong | value | The value to read |