| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.ResizableBuffer.html | [Back] [Original] |
Section Navigation
Bases: Buffer
A base class for buffers that can be resized.
Methods
|
|
|
Determine if two buffers contain exactly the same data. |
|
Compute hexadecimal representation of the buffer. |
|
Resize buffer to indicated size. |
|
Slice this buffer. |
|
Return this buffer as a Python bytes object. |
Attributes
The buffer's address, as an integer. |
|
The device where the buffer resides. |
|
The device type where the buffer resides. |
|
Whether the buffer is CPU-accessible. |
|
Whether the buffer is mutable. |
|
The memory manager associated with the buffer. |
|
The buffer size in bytes. |
The buffers address, as an integer.
The returned address may point to CPU or device memory. Use is_cpu() to disambiguate.
The device where the buffer resides.
DeviceThe device type where the buffer resides.
DeviceAllocationTypeDetermine if two buffers contain exactly the same data.
Whether the buffer is CPU-accessible.
Whether the buffer is mutable.
The memory manager associated with the buffer.
MemoryManagerResize buffer to indicated size.
The buffer size in bytes.
Slice this buffer. Memory is not copied.
You can also use the Python slice notation buffer[start:stop].
Return this buffer as a Python bytes object. Memory is copied.
ResizableBufferResizableBuffer.__init__()ResizableBuffer.addressResizableBuffer.deviceResizableBuffer.device_typeResizableBuffer.equals()ResizableBuffer.hex()ResizableBuffer.is_cpuResizableBuffer.is_mutableResizableBuffer.memory_managerResizableBuffer.parentResizableBuffer.resize()ResizableBuffer.sizeResizableBuffer.slice()ResizableBuffer.to_pybytes()
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |