Class Int64Extensions
Collection-related extension methods for
Inheritance
System.Object
Int64Extensions
Namespace: X10D.Collections
Assembly: X10D.dll
Syntax
public static class Int64Extensions : object
Methods
| Improve this Doc View SourceUnpack(Int64)
Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field.
Declaration
public static bool[] Unpack(this long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | The value to unpack. |
Returns
Type | Description |
---|---|
System.Boolean[] | An array of |
Unpack(Int64, Span<Boolean>)
Unpacks this 64-bit signed integer into a boolean list, treating it as a bit field.
Declaration
public static void Unpack(this long value, Span<bool> destination)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | The value to unpack. |
Span<System.Boolean> | destination | When this method returns, contains the unpacked booleans from |