Converter.BoolFromBit Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
Overloads
| BoolFromBit(byte[], int) | Converts the bit at |
| BoolFromBit(ulong[], int) | Converts the bit at |
BoolFromBit(byte[], int)
Converts the bit at startBit in array to a bool.
public static bool BoolFromBit(byte[] array, int startBit)
Parameters
| byte[] | array |
The array to convert the bit from. |
| int | startBit |
The position in the array from which to read the bit. |
Returns
| bool | The converted bool. |
BoolFromBit(ulong[], int)
Converts the bit at startBit in array to a bool.
public static bool BoolFromBit(ulong[] array, int startBit)
Parameters
| ulong[] | array |
The array to convert the bit from. |
| int | startBit |
The position in the array from which to read the bit. |
Returns
| bool | The converted bool. |