BitOperationInsert Method

Aerospike
Create byte "insert" operation. Server inserts value bytes into byte[] bin at byteOffset. Server does not return a value. Example:
  • bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
  • byteOffset = 1
  • value = [0b11111111, 0b11000111]
  • bin result = [0b00000001, 0b11111111, 0b11000111, 0b01000010, 0b00000011, 0b00000100, 0b00000101]

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Operation Insert(
	BitPolicy policy,
	string binName,
	int byteOffset,
	byte[] value
)

Parameters

policy
Type: Aerospike.ClientBitPolicy
binName
Type: SystemString
byteOffset
Type: SystemInt32
value
Type: SystemByte

Return Value

Type: Operation
See Also

Reference