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

Method MaxCompressedLen

cpp/src/arrow/util/compression_zstd.cc:193–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192
193 int64_t MaxCompressedLen(int64_t input_len,
194 const uint8_t* ARROW_ARG_UNUSED(input)) override {
195 DCHECK_GE(input_len, 0);
196 return ZSTD_compressBound(static_cast<size_t>(input_len));
197 }
198
199 Result<int64_t> Compress(int64_t input_len, const uint8_t* input,
200 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