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

Method AppendToBuffer

cpp/src/arrow/io/buffered.cc:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void AppendToBuffer(const void* data, int64_t nbytes) {
73 DCHECK_LE(buffer_pos_ + nbytes, buffer_size_);
74 std::memcpy(buffer_data_ + buffer_pos_, data, nbytes);
75 buffer_pos_ += nbytes;
76 }
77
78 int64_t buffer_size() const { return buffer_size_; }
79

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected