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

Method MaxCompressedLen

cpp/src/arrow/util/compression_brotli.cc:198–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 int64_t MaxCompressedLen(int64_t input_len,
199 const uint8_t* ARROW_ARG_UNUSED(input)) override {
200 DCHECK_GE(input_len, 0);
201 return BrotliEncoderMaxCompressedSize(static_cast<size_t>(input_len));
202 }
203
204 Result<int64_t> Compress(int64_t input_len, const uint8_t* input,
205 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