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

Method GetOutputLength

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

Source from the content-addressed store, hash-verified

253 }
254
255 int64_t GetOutputLength(int64_t nbytes) {
256 // XXX: Hack for Feather 0.3.0 for backwards compatibility with old files
257 // Size in-file of written byte buffer
258 if (version() < 2) {
259 // Feather files < 0.3.0
260 return nbytes;
261 } else {
262 return PaddedLength(nbytes);
263 }
264 }
265
266 // Retrieve a primitive array from the data source
267 //

Callers

nothing calls this directly

Calls 2

PaddedLengthFunction · 0.70
versionFunction · 0.50

Tested by

no test coverage detected