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

Method read_buffer

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

Source from the content-addressed store, hash-verified

231 return False
232
233 def read_buffer(self, nbytes):
234 assert nbytes == length
235 return memoryview(dst_buf)[:nbytes]
236
237 duck_reader = DuckReader()
238 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