BitOperation.GetInt Method
Create bit "get integer" operation.
Server returns integer from byte[] bin starting at bitOffset for bitSize.
Signed indicates if bits should be treated as a signed number.
Example:
- bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
- bitOffset = 8
- bitSize = 16
- signed = false
- returns 16899
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public static Operation GetInt(
string binName,
int bitOffset,
int bitSize,
bool signed
)
- binName String
-
- bitOffset Int32
-
- bitSize Int32
-
- signed Boolean
-
Operation