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

Function Rewind

cpp/src/arrow/buffer_builder.h:202–202  ·  view source on GitHub ↗

\brief Set size to a smaller value without modifying builder contents. For reusable BufferBuilder classes \param[in] position must be non-negative and less than or equal to the current length()

Source from the content-addressed store, hash-verified

200 /// \param[in] position must be non-negative and less than or equal
201 /// to the current length()
202 void Rewind(int64_t position) { size_ = position; }
203
204 int64_t capacity() const { return capacity_; }
205 int64_t length() const { return size_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected