Module arrow_buffer::buffer
source · Expand description
This module contains two main structs: Buffer and MutableBuffer. A buffer represents
a contiguous memory region that can be shared via offsets
.
Structs
- A slice-able
Buffer
containing bit-packed booleans - Buffer represents a contiguous memory region that can be shared with other buffers and across thread boundaries.
- A
MutableBuffer
is Arrow’s interface to build aBuffer
out of items or slices of items. - A non-empty buffer of monotonically increasing, positive integers
- A slice-able buffer of monotonically increasing, positive integers used to store run-ends
- Provides a safe API for interpreting a
Buffer
as a slice ofArrowNativeType
Functions
- Apply a bitwise operation
op
to two inputs and return the result as a Buffer. The inputs are treated as bitmaps, meaning that offsets and length are specified in number of bits. - Apply a bitwise operation
op
to four inputs and return the result as a Buffer. The inputs are treated as bitmaps, meaning that offsets and length are specified in number of bits. - Apply a bitwise operation
op
to one input and return the result as a Buffer. The input is treated as a bitmap, meaning that offset and length are specified in number of bits. - Apply a bitwise and to two inputs and return the result as a Buffer. The inputs are treated as bitmaps, meaning that offsets and length are specified in number of bits.
- Apply a bitwise or to two inputs and return the result as a Buffer. The inputs are treated as bitmaps, meaning that offsets and length are specified in number of bits.
- Apply a bitwise xor to two inputs and return the result as a Buffer. The inputs are treated as bitmaps, meaning that offsets and length are specified in number of bits.
- Apply a bitwise not to one input and return the result as a Buffer. The input is treated as a bitmap, meaning that offset and length are specified in number of bits.