blob: cd1d657027ade14e569a30d6410652c8a7054c77 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_STORAGE_TOOLS_BLOBFS_COMPRESSION_BLOBFS_COMPRESSION_H_
#define SRC_STORAGE_TOOLS_BLOBFS_COMPRESSION_BLOBFS_COMPRESSION_H_
#include "src/lib/chunked-compression/chunked-compressor.h"
namespace blobfs_compress {
zx_status_t BlobfsCompress(const uint8_t* src,
size_t src_sz,
uint8_t* dest_write_buf,
size_t* out_compressed_size,
chunked_compression::CompressionParams params);
} // namespace blobfs_compress
#endif // SRC_STORAGE_TOOLS_BLOBFS_COMPRESSION_BLOBFS_COMPRESSION_H_