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