BitOperationGetInt Method

Aerospike
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.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Operation GetInt(
	string binName,
	int bitOffset,
	int bitSize,
	bool signed
)

Parameters

binName
Type: SystemString
bitOffset
Type: SystemInt32
bitSize
Type: SystemInt32
signed
Type: SystemBoolean

Return Value

Type: Operation
See Also

Reference