Method Set
Set(ulong*, int, bool)
Sets the bit at an index to 0 or 1.
Declaration
public static void Set(ulong* ptr, int pos, bool value)
Parameters
Type | Name | Description |
---|---|---|
ulong* | ptr | pointer to the bit buffer |
int | pos | Index of the bit to set. |
bool | value | True for 1, false for 0. |
Set(int, bool)
Sets the bit at an index to 0 or 1.
Declaration
public void Set(int pos, bool value)
Parameters
Type | Name | Description |
---|---|---|
int | pos | Index of the bit to set. |
bool | value | True for 1, false for 0. |