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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- offset (integer_expr)
- bit_size (integer_expr)
- is_signed (boolean_value)
- bin (blob_bin_expr)
Returns: (integer_bin)