/* * Copyright (c) Yann Collet, Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may select, at your option, one of the above-listed licenses. */ #include /* size_t, ptrdiff_t */ #include "zstd_v02.h" #include "../common/compiler.h" #include "../common/error_private.h" /* Implementation moved to Rust (rust/src/legacy/zstd_v02.rs). * The frozen v0.2 decoder, including its embedded FSE/Huff0 snapshot and the * ZSTDv02_Dctx streaming state, now lives entirely in Rust; C code only ever * holds an opaque ZSTDv02_Dctx pointer. */