MCPcopy Create free account
hub / github.com/apache/arrow / read_buffer

Method read_buffer

python/pyarrow/tests/test_io.py:232–234  ·  view source on GitHub ↗
(self, nbytes)

Source from the content-addressed store, hash-verified

230 return False
231
232 def read_buffer(self, nbytes):
233 assert nbytes == length
234 return memoryview(dst_buf)[:nbytes]
235
236 duck_reader = DuckReader()
237 with pa.PythonFile(duck_reader, mode='r') as f:

Callers 7

test_BufferReaderFunction · 0.80
get_bufferFunction · 0.80
check_compressed_inputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected