pub fn make_and_append_view(
views_buffer: &mut Vec<u128>,
null_builder: &mut NullBufferBuilder,
original_view: &u128,
substr: &str,
start_offset: u32,
)
Expand description
Append a new view to the views buffer with the given substr
§Safety
original_view must be a valid view (the format described on
GenericByteViewArray
.
§Arguments
- views_buffer: The buffer to append the new view to
- null_builder: The buffer to append the null value to
- original_view: The original view value
- substr: The substring to append. Must be a valid substring of the original view
- start_offset: The start offset of the substring in the view