Converter.ByteToBits Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
Overloads
| ByteToBits(byte, byte[], int) | Converts  | 
| ByteToBits(byte, ulong[], int) | Converts  | 
ByteToBits(byte, byte[], int)
Converts value to 8 bits and writes them into array at startBit.
public static void ByteToBits(byte value, byte[] array, int startBit)Parameters
| byte | value | The byte to convert. | 
| byte[] | array | The array to write the bits into. | 
| int | startBit | The position in the array at which to write the bits. | 
ByteToBits(byte, ulong[], int)
Converts value to 8 bits and writes them into array at startBit.
public static void ByteToBits(byte value, ulong[] array, int startBit)Parameters
| byte | value | The byte to convert. | 
| ulong[] | array | The array to write the bits into. | 
| int | startBit | The position in the array at which to write the bits. |