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

Method WriteBuffer

cpp/src/arrow/ipc/feather.cc:527–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525 ArrayMetadata* meta;
526
527 Status WriteBuffer(const uint8_t* buffer, int64_t length, int64_t bit_offset) {
528 int64_t bytes_written = 0;
529 if (buffer) {
530 RETURN_NOT_OK(
531 WritePaddedWithOffset(dst, buffer, bit_offset, length, &bytes_written));
532 } else {
533 RETURN_NOT_OK(WritePaddedBlank(dst, length, &bytes_written));
534 }
535 meta->total_bytes += bytes_written;
536 return Status::OK();
537 }
538
539 template <typename T>
540 typename std::enable_if<

Callers

nothing calls this directly

Calls 3

WritePaddedWithOffsetFunction · 0.85
WritePaddedBlankFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected