BitExp.GetInt Method
Create expression that returns integer from byte[] bin starting at bitOffset for bitSize.
Signed indicates if bits should be treated as a signed number.
- 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 Exp GetInt(
Exp bitOffset,
Exp bitSize,
bool signed,
Exp bin
)
- bitOffset Exp
-
- bitSize Exp
-
- signed Boolean
-
- bin Exp
-
Exp
Exp.EQ(BitExp.GetInt(Exp.Val(8), Exp.Val(16), false, Exp.BlobBin("a")), Exp.Val(16899))