chromium/third_party/puffin/src/brotli_util.cc

// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "puffin/src/include/puffin/brotli_util.h"

#include "brotli/decode.h"
#include "brotli/encode.h"
#include "puffin/memory_stream.h"
#include "puffin/src/logging.h"

namespace puffin {

namespace {

constexpr auto kBufferSize =;
constexpr auto kDefaultParamQuality =;
constexpr auto kDefaultParamLgwin =;
}  // namespace

bool BrotliEncode(const uint8_t* input,
                  size_t input_size,
                  UniqueStreamPtr output_stream,
                  int quality) {}

bool BrotliEncode(const uint8_t* input,
                  size_t input_size,
                  UniqueStreamPtr output_stream) {}

bool BrotliEncode(const uint8_t* input,
                  size_t input_size,
                  std::vector<uint8_t>* output) {}

bool BrotliDecode(const uint8_t* input,
                  size_t input_size,
                  UniqueStreamPtr output_stream) {}

bool BrotliDecode(const uint8_t* input,
                  size_t input_size,
                  std::vector<uint8_t>* output) {}

}  // namespace puffin