Skip to main content
Loading

Blob bitwise bin operations

Applies bitwise operations to a blob_bin_expr.

Bitwise Modify Operations

bit_resize

Introduced: 5.2.0.4

bit_resize(policy, bytes_size, flags, bin)

Invokes the resize operation.

Arguments:
  • policy (library_specific)
  • bytes_size (integer_expr)
  • flags (library_specific)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_insert

Introduced: 5.2.0.4

bit_insert(policy, bytes_offset, blob, bin)

Invokes the insert operation.

Arguments:
  • policy (library_specific)
  • bytes_offset (integer_expr)
  • blob (blob_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_remove

Introduced: 5.2.0.4

bit_remove(policy, bytes_offset, byte_size, bin)

Invokes the remove operation.

Arguments:
  • policy (library_specific)
  • bytes_offset (integer_expr)
  • byte_size (integer_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_set

Introduced: 5.2.0.4

bit_set(policy, bit_offset, bit_size, value, bin)

Invokes the set operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (blob_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_or

Introduced: 5.2.0.4

bit_or(policy, bit_offset, bit_size, value, bin)

Invokes the or operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (blob_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_xor

Introduced: 5.2.0.4

bit_xor(policy, bit_offset, bit_size, value, bin)

Invokes the xor operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (blob_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_and

Introduced: 5.2.0.4

bit_and(policy, bit_offset, bit_size, value, bin)

Invokes the and operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (blob_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_not

Introduced: 5.2.0.4

bit_not(policy, bit_offset, bit_size, bin)

Invokes the not operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • bin (blob_expr)

Returns: (blob_bin)

bit_lshift

Introduced: 5.2.0.4

bit_lshift(policy, bit_offset, bit_size, shift_bit_count, bin)

Invokes the lshift operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • shift_bit_count (integer_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_rshift

Introduced: 5.2.0.4

bit_rshift(policy, bit_offset, bit_size, shift_bit_count, bin)

Invokes the rshift operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • shift_bit_count (integer_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_add

Introduced: 5.2.0.4

bit_add(policy, bit_offset, bit_size, value, action_flags, bin)

Invokes the add operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (integer_expr)
  • action_flags (library_specific)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_subtract

Introduced: 5.2.0.4

bit_subtract(policy, bit_offset, bit_size, value, action_flags, bin)

Invokes the subtract operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (integer_expr)
  • action_flags (library_specific)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_set_int

Introduced: 5.2.0.4

bit_set_int(policy, bit_offset, bit_size, value, bin)

Invokes the set_integer operation.

Arguments:
  • policy (library_specific)
  • bit_offset (integer_expr)
  • bit_size (integer_expr)
  • value (integer_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

Bitwise Blob Read Operations

bit_get

Introduced: 5.2.0.4

bit_get(offset, bit_size, bin)

Invokes the get operation.

Arguments:
  • offset (integer_expr)
  • bit_size (integer_expr)
  • bin (blob_bin_expr)

Returns: (blob_bin)

bit_count

Introduced: 5.2.0.4

bit_count(offset, bit_size, bin)

Invokes the count operation.

Arguments:
  • offset (integer_expr)
  • bit_size (integer_expr)
  • bin (blob_bin_expr)

Returns: (integer_bin)

bit_lscan

Introduced: 5.2.0.4

bit_lscan(offset, bit_size, value, bin)

Invokes the lscan operation.

Arguments:
  • offset (integer_expr)
  • bit_size (integer_expr)
  • value (boolean_expr)
  • bin (blob_bin_expr)

Returns: (integer_bin)

bit_rscan

Introduced: 5.2.0.4

bit_rscan(offset, bit_size, value, bin)

Invokes the rscan operation.

Arguments:
  • offset (integer_expr)
  • bit_size (integer_expr)
  • value (boolean_expr)
  • bin (blob_bin_expr)

Returns: (integer_bin)

bit_get_int

Introduced: 5.2.0.4

bit_get_int(offset, bit_size, is_signed, bin)

Invokes the get_integer operation.

Arguments:
  • offset (integer_expr)
  • bit_size (integer_expr)
  • is_signed (boolean_value)
  • bin (blob_bin_expr)

Returns: (integer_bin)