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

Method WriteBuffer

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

Source from the content-addressed store, hash-verified

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