blob: 91a9e5541f10d1420f8bd25626a12573d5940dce [file] [log] [blame]
* Copyright 2020 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.
#include <cstddef>
// FFI for ChunkedDecompressor::DecompressBytes
// Acts as a C bridge to the C++ ChunkedDecompress function to enable it to
// be used by the rust FFI.
extern "C" size_t zstd_chunked_decompress(const void* src, size_t src_len, void* dst,
size_t dst_capacity);