Class Bitwise
- Namespace
- Archipelago.MultiClient.Net.Models
- Assembly
- Archipelago.MultiClient.Net.dll
Bitwise operations to apply to the DataStorage
public static class Bitwise
- Inheritance
-
Bitwise
- Inherited Members
Methods
And(long)
Performs a bitwise AND on the store its current value vs the provided value
public static OperationSpecification And(long i)
Parameters
i
longThe value to AND with
Returns
LeftShift(long)
Performs a bitwise left shift on the store its current value by the provided amount
public static OperationSpecification LeftShift(long i)
Parameters
i
longthe amount to shift
Returns
Or(long)
Performs a bitwise OR on the store its current value vs the provided value
public static OperationSpecification Or(long i)
Parameters
i
longThe value to OR with
Returns
RightShift(long)
Performs a bitwise right shift on the store its current value by the provided amount
public static OperationSpecification RightShift(long i)
Parameters
i
longthe amount to shift
Returns
Xor(long)
Performs a bitwise Exclusive OR on the store its current value vs the provided value
public static OperationSpecification Xor(long i)
Parameters
i
longThe value to XOR with