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

Method DoRead

cpp/src/arrow/io/memory.cc:371–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371Result<int64_t> BufferReader::DoRead(int64_t nbytes, void* out) {
372 RETURN_NOT_OK(CheckClosed());
373 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read,
374 DoReadAt(position_, nbytes, /*allow_short_read=*/true, out));
375 position_ += bytes_read;
376 return bytes_read;
377}
378
379Result<std::shared_ptr<Buffer>> BufferReader::DoRead(int64_t nbytes) {
380 RETURN_NOT_OK(CheckClosed());

Callers

nothing calls this directly

Calls 2

CheckClosedFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected