chromium/third_party/zlib/google/compression_utils.cc

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

#include "third_party/zlib/google/compression_utils.h"

#include "base/check_op.h"
#include "base/process/memory.h"

#include "third_party/zlib/google/compression_utils_portable.h"

namespace compression {

bool GzipCompress(base::span<const char> input,
                  char* output_buffer,
                  size_t output_buffer_size,
                  size_t* compressed_size,
                  void* (*malloc_fn)(size_t),
                  void (*free_fn)(void*)) {}

bool GzipCompress(base::span<const char> input, std::string* output) {}

bool GzipCompress(base::span<const uint8_t> input, std::string* output) {}

bool GzipUncompress(const std::string& input, std::string* output) {}

bool GzipUncompress(base::span<const char> input,
                    base::span<const char> output) {}

bool GzipUncompress(base::span<const uint8_t> input,
                    base::span<const uint8_t> output) {}

bool GzipUncompress(base::span<const char> input, std::string* output) {}

bool GzipUncompress(base::span<const uint8_t> input, std::string* output) {}

uint32_t GetUncompressedSize(base::span<const char> compressed_data) {}

uint32_t GetUncompressedSize(base::span<const uint8_t> compressed_data) {}

}  // namespace compression