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

Method MaxCompressedLen

cpp/src/arrow/util/compression_lz4.cc:262–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 prefs_(PreferencesWithCompressionLevel(compression_level_)) {}
261
262 int64_t MaxCompressedLen(int64_t input_len,
263 const uint8_t* ARROW_ARG_UNUSED(input)) override {
264 return static_cast<int64_t>(
265 LZ4F_compressFrameBound(static_cast<size_t>(input_len), &prefs_));
266 }
267
268 Result<int64_t> Compress(int64_t input_len, const uint8_t* input,
269 int64_t output_buffer_len, uint8_t* output_buffer) override {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected