Expand description
Clean-room FFI bindings for the SZ3 lossy compression library.
This crate provides low-level C FFI bindings to the SZ3 header-only C++
library via a thin C++ shim (cpp/sz3_ffi.cpp).
Modules§
- SZ3
- SZ3 algorithm and error-bound mode constants.
- impl_
f32 - impl_
f64 - impl_i8
- impl_
i16 - impl_
i32 - impl_
i64 - impl_u8
- impl_
u16 - impl_
u32 - impl_
u64
Structs§
- SZ3_
Config - Flat C-compatible configuration struct mirroring the SZ3 C++
Configclass.
Functions§
- sz3_
dealloc_ ⚠size_ t - Free a
size_t[]pointer that was allocated on the C++ side (e.g. thedimsfield ofSZ3_Config). - sz3_
decompress_ ⚠config - Parse a compressed SZ3 blob and return its configuration without
decompressing the payload. The returned
SZ3_Config::dimspointer is heap-allocated; free it withsz3_dealloc_size_t.