Skip to main content

Crate blosc2_pure_rs

Crate blosc2_pure_rs 

Source
Expand description

High-performance compressor for binary data (numerical arrays, tensors, structured formats).

A pure-Rust implementation of the Blosc2 format. Supports the BloscLZ, LZ4, LZ4HC, Zlib, and Zstd codecs, combined with shuffle, bitshuffle, delta, and truncate-precision filters for improved compression of typed data.

The top-level modules expose the building blocks: chunk header parsing, filters, codecs, the core compress engine, schunk super-chunks, and the b2nd N-dimensional array layer.

Re-exports§

pub use b2nd::b2nd_append;
pub use b2nd::b2nd_append_axis_c;
pub use b2nd::b2nd_append_c;
pub use b2nd::b2nd_concatenate;
pub use b2nd::b2nd_concatenate_axis_c;
pub use b2nd::b2nd_concatenate_c;
pub use b2nd::b2nd_concatenate_ctx_axis_c;
pub use b2nd::b2nd_concatenate_ctx_c;
pub use b2nd::b2nd_copy;
pub use b2nd::b2nd_copy_buffer;
pub use b2nd::b2nd_copy_buffer2;
pub use b2nd::b2nd_copy_buffer2_result;
pub use b2nd::b2nd_copy_buffer_result;
pub use b2nd::b2nd_copy_c;
pub use b2nd::b2nd_copy_ctx_c;
pub use b2nd::b2nd_create_ctx;
pub use b2nd::b2nd_create_ctx_c;
pub use b2nd::b2nd_create_ctx_parts_c;
pub use b2nd::b2nd_create_ctx_parts_with_storage_c;
pub use b2nd::b2nd_create_ctx_with_storage;
pub use b2nd::b2nd_create_ctx_with_storage_c;
pub use b2nd::b2nd_delete;
pub use b2nd::b2nd_delete_axis_c;
pub use b2nd::b2nd_delete_c;
pub use b2nd::b2nd_deserialize_meta;
pub use b2nd::b2nd_deserialize_meta_c;
pub use b2nd::b2nd_empty;
pub use b2nd::b2nd_empty_c;
pub use b2nd::b2nd_empty_ctx_c;
pub use b2nd::b2nd_expand_dims;
pub use b2nd::b2nd_expand_dims_c;
pub use b2nd::b2nd_expand_dims_final_c;
pub use b2nd::b2nd_free_c;
pub use b2nd::b2nd_free_c as b2nd_free;
pub use b2nd::b2nd_free_ctx_c;
pub use b2nd::b2nd_free_ctx_c as b2nd_free_ctx;
pub use b2nd::b2nd_free_option_c;
pub use b2nd::b2nd_from_cbuffer;
pub use b2nd::b2nd_from_cbuffer_c;
pub use b2nd::b2nd_from_cbuffer_ctx_c;
pub use b2nd::b2nd_from_cframe;
pub use b2nd::b2nd_from_cframe_c;
pub use b2nd::b2nd_from_schunk;
pub use b2nd::b2nd_from_schunk_c;
pub use b2nd::b2nd_full;
pub use b2nd::b2nd_full_c;
pub use b2nd::b2nd_full_ctx_c;
pub use b2nd::b2nd_get_orthogonal_selection_c;
pub use b2nd::b2nd_get_orthogonal_selection_c as b2nd_get_orthogonal_selection;
pub use b2nd::b2nd_get_orthogonal_selection_c_sizes_c;
pub use b2nd::b2nd_get_orthogonal_selection_cbuffer;
pub use b2nd::b2nd_get_orthogonal_selection_cbuffer_c;
pub use b2nd::b2nd_get_orthogonal_selection_count_c;
pub use b2nd::b2nd_get_slice;
pub use b2nd::b2nd_get_slice_c;
pub use b2nd::b2nd_get_slice_cbuffer;
pub use b2nd::b2nd_get_slice_cbuffer_c;
pub use b2nd::b2nd_get_slice_cbuffer_vec;
pub use b2nd::b2nd_get_slice_ctx_c;
pub use b2nd::b2nd_get_slice_nchunks;
pub use b2nd::b2nd_get_slice_nchunks_vec;
pub use b2nd::b2nd_insert;
pub use b2nd::b2nd_insert_axis_c;
pub use b2nd::b2nd_insert_c;
pub use b2nd::b2nd_nans;
pub use b2nd::b2nd_nans_c;
pub use b2nd::b2nd_nans_ctx_c;
pub use b2nd::b2nd_open;
pub use b2nd::b2nd_open_c;
pub use b2nd::b2nd_open_offset;
pub use b2nd::b2nd_open_offset_c;
pub use b2nd::b2nd_print_meta;
pub use b2nd::b2nd_print_meta_c;
pub use b2nd::b2nd_print_meta_to_buffer_c;
pub use b2nd::b2nd_resize;
pub use b2nd::b2nd_resize_c;
pub use b2nd::b2nd_save;
pub use b2nd::b2nd_save_append;
pub use b2nd::b2nd_serialize_meta;
pub use b2nd::b2nd_serialize_meta_c;
pub use b2nd::b2nd_serialize_meta_parts;
pub use b2nd::b2nd_serialize_meta_parts_c;
pub use b2nd::b2nd_set_orthogonal_selection_c;
pub use b2nd::b2nd_set_orthogonal_selection_c as b2nd_set_orthogonal_selection;
pub use b2nd::b2nd_set_orthogonal_selection_c_sizes_c;
pub use b2nd::b2nd_set_orthogonal_selection_cbuffer;
pub use b2nd::b2nd_set_orthogonal_selection_cbuffer_c;
pub use b2nd::b2nd_set_orthogonal_selection_count_c;
pub use b2nd::b2nd_set_slice_cbuffer;
pub use b2nd::b2nd_set_slice_cbuffer_c;
pub use b2nd::b2nd_squeeze;
pub use b2nd::b2nd_squeeze_c;
pub use b2nd::b2nd_squeeze_index;
pub use b2nd::b2nd_squeeze_index_c;
pub use b2nd::b2nd_to_cbuffer;
pub use b2nd::b2nd_to_cbuffer_c;
pub use b2nd::b2nd_to_cbuffer_vec;
pub use b2nd::b2nd_to_cframe;
pub use b2nd::b2nd_to_cframe_c;
pub use b2nd::b2nd_uninit;
pub use b2nd::b2nd_uninit_c;
pub use b2nd::b2nd_uninit_ctx_c;
pub use b2nd::b2nd_zeros;
pub use b2nd::b2nd_zeros_c;
pub use b2nd::b2nd_zeros_ctx_c;
pub use b2nd::B2ndArray;
pub use b2nd::B2ndContext;
pub use b2nd::B2ndMeta;
pub use b2nd::B2ndStorage;
pub use b2nd::B2ND_DEFAULT_DTYPE;
pub use b2nd::B2ND_DEFAULT_DTYPE_FORMAT;
pub use b2nd::B2ND_MAX_DIM;
pub use b2nd::B2ND_MAX_METALAYERS;
pub use b2nd::B2ND_METALAYER_NAME;
pub use b2nd::B2ND_METALAYER_VERSION;
pub use b2nd::DTYPE_NUMPY_FORMAT;
pub use codecs::blosc2_register_codec_abi;
pub use codecs::blosc2_register_codec_abi as blosc2_register_codec;
pub use codecs::blosc2_register_codec_c;
pub use codecs::Blosc2CParams as Blosc2CodecCParams;
pub use codecs::Blosc2Codec;
pub use codecs::Blosc2CodecAbi;
pub use codecs::Blosc2CodecDecoderCb;
pub use codecs::Blosc2CodecEncoderCb;
pub use codecs::Blosc2DParams as Blosc2CodecDParams;
pub use codecs::Blosc2PostfilterCb;
pub use codecs::Blosc2PrefilterCb;
pub use compress::blosc1_cbuffer_metainfo;
pub use compress::blosc1_cbuffer_sizes;
pub use compress::blosc1_cbuffer_validate;
pub use compress::blosc1_compress;
pub use compress::blosc1_compress_c;
pub use compress::blosc1_decompress;
pub use compress::blosc1_decompress_c;
pub use compress::blosc1_get_blocksize;
pub use compress::blosc1_get_compressor;
pub use compress::blosc1_get_compressor_code;
pub use compress::blosc1_get_compressor_or_unknown;
pub use compress::blosc1_get_splitmode;
pub use compress::blosc1_getitem;
pub use compress::blosc1_set_blocksize;
pub use compress::blosc1_set_compressor;
pub use compress::blosc1_set_compressor_c;
pub use compress::blosc1_set_compressor_code;
pub use compress::blosc1_set_splitmode;
pub use compress::blosc2_cbuffer_complib;
pub use compress::blosc2_cbuffer_metainfo;
pub use compress::blosc2_cbuffer_metainfo2_c;
pub use compress::blosc2_cbuffer_sizes;
pub use compress::blosc2_cbuffer_versions;
pub use compress::blosc2_chunk_nans;
pub use compress::blosc2_chunk_nans_c;
pub use compress::blosc2_chunk_nans_with_cparams;
pub use compress::blosc2_chunk_repeatval;
pub use compress::blosc2_chunk_repeatval_c;
pub use compress::blosc2_chunk_repeatval_with_cparams;
pub use compress::blosc2_chunk_uninit;
pub use compress::blosc2_chunk_uninit_c;
pub use compress::blosc2_chunk_uninit_with_cparams;
pub use compress::blosc2_chunk_zeros;
pub use compress::blosc2_chunk_zeros_c;
pub use compress::blosc2_chunk_zeros_with_cparams;
pub use compress::blosc2_compcode_to_compname;
pub use compress::blosc2_compcode_to_compname_c;
pub use compress::blosc2_compcode_to_compname_int_c;
pub use compress::blosc2_compname_to_compcode;
pub use compress::blosc2_compname_to_compcode_c;
pub use compress::blosc2_compress;
pub use compress::blosc2_compress_ctx;
pub use compress::blosc2_create_cctx;
pub use compress::blosc2_create_cctx_c;
pub use compress::blosc2_create_dctx;
pub use compress::blosc2_create_dctx_c;
pub use compress::blosc2_ctx_get_cparams;
pub use compress::blosc2_ctx_get_dparams;
pub use compress::blosc2_decompress;
pub use compress::blosc2_decompress_ctx;
pub use compress::blosc2_error_code;
pub use compress::blosc2_free_ctx;
pub use compress::blosc2_free_ctx_c;
pub use compress::blosc2_get_blosc2_cparams_defaults;
pub use compress::blosc2_get_blosc2_dparams_defaults;
pub use compress::blosc2_get_complib_info;
pub use compress::blosc2_get_delta;
pub use compress::blosc2_get_nthreads;
pub use compress::blosc2_get_version_string;
pub use compress::blosc2_getitem_c;
pub use compress::blosc2_getitem_c as blosc2_getitem;
pub use compress::blosc2_getitem_ctx_c;
pub use compress::blosc2_getitem_ctx_c as blosc2_getitem_ctx;
pub use compress::blosc2_list_compressors;
pub use compress::blosc2_set_delta;
pub use compress::blosc2_set_delta_enabled;
pub use compress::blosc2_set_maskout;
pub use compress::blosc2_set_nthreads;
pub use compress::blosc2_vlchunk_get_nblocks_c;
pub use compress::blosc2_vlchunk_get_nblocks_c as blosc2_vlchunk_get_nblocks;
pub use compress::blosc2_vlcompress_ctx;
pub use compress::blosc2_vlcompress_ctx_c;
pub use compress::blosc2_vldecompress_block_ctx;
pub use compress::blosc2_vldecompress_block_ctx_c;
pub use compress::blosc2_vldecompress_block_ctx_into;
pub use compress::blosc2_vldecompress_ctx;
pub use compress::blosc2_vldecompress_ctx_c;
pub use compress::blosc_cbuffer_complib;
pub use compress::blosc_cbuffer_metainfo;
pub use compress::blosc_cbuffer_sizes;
pub use compress::blosc_cbuffer_validate;
pub use compress::blosc_cbuffer_versions;
pub use compress::blosc_compcode_to_compname;
pub use compress::blosc_compname_to_compcode;
pub use compress::blosc_compress;
pub use compress::blosc_decompress;
pub use compress::blosc_get_blocksize;
pub use compress::blosc_get_complib_info;
pub use compress::blosc_get_compressor;
pub use compress::blosc_get_nthreads;
pub use compress::blosc_get_version_string;
pub use compress::blosc_getitem;
pub use compress::blosc_list_compressors;
pub use compress::blosc_set_blocksize;
pub use compress::blosc_set_compressor;
pub use compress::blosc_set_compressor_c;
pub use compress::blosc_set_nthreads;
pub use compress::blosc_set_splitmode;
pub use compress::CContext;
pub use compress::CParams;
pub use compress::DContext;
pub use compress::DParams;
pub use compress::PostfilterFn;
pub use compress::PostfilterParams;
pub use compress::PrefilterFn;
pub use compress::PrefilterParams;
pub use constants::BLOSC1_VERSION_FORMAT;
pub use constants::BLOSC1_VERSION_FORMAT_PRE1;
pub use constants::BLOSC2_BIGENDIAN;
pub use constants::BLOSC2_CHUNK_BLOCKSIZE;
pub use constants::BLOSC2_CHUNK_BLOSC2_FLAGS;
pub use constants::BLOSC2_CHUNK_BLOSC2_FLAGS2;
pub use constants::BLOSC2_CHUNK_CBYTES;
pub use constants::BLOSC2_CHUNK_COMPCODE_META;
pub use constants::BLOSC2_CHUNK_FILTER_CODES;
pub use constants::BLOSC2_CHUNK_FILTER_META;
pub use constants::BLOSC2_CHUNK_FLAGS;
pub use constants::BLOSC2_CHUNK_NBYTES;
pub use constants::BLOSC2_CHUNK_TYPESIZE;
pub use constants::BLOSC2_CHUNK_UDCOMPCODE;
pub use constants::BLOSC2_CHUNK_VERSION;
pub use constants::BLOSC2_CHUNK_VERSIONLZ;
pub use constants::BLOSC2_DEFINED_CODECS_START;
pub use constants::BLOSC2_DEFINED_CODECS_STOP;
pub use constants::BLOSC2_DEFINED_FILTERS_START;
pub use constants::BLOSC2_DEFINED_FILTERS_STOP;
pub use constants::BLOSC2_DEFINED_TUNER_START;
pub use constants::BLOSC2_DEFINED_TUNER_STOP;
pub use constants::BLOSC2_ERROR_2GB_LIMIT;
pub use constants::BLOSC2_ERROR_CHUNK_APPEND;
pub use constants::BLOSC2_ERROR_CHUNK_INSERT;
pub use constants::BLOSC2_ERROR_CHUNK_UPDATE;
pub use constants::BLOSC2_ERROR_CODEC_DICT;
pub use constants::BLOSC2_ERROR_CODEC_PARAM;
pub use constants::BLOSC2_ERROR_CODEC_SUPPORT;
pub use constants::BLOSC2_ERROR_DATA;
pub use constants::BLOSC2_ERROR_FAILURE;
pub use constants::BLOSC2_ERROR_FILE_OPEN;
pub use constants::BLOSC2_ERROR_FILE_READ;
pub use constants::BLOSC2_ERROR_FILE_REMOVE;
pub use constants::BLOSC2_ERROR_FILE_TRUNCATE;
pub use constants::BLOSC2_ERROR_FILE_WRITE;
pub use constants::BLOSC2_ERROR_FILTER_PIPELINE;
pub use constants::BLOSC2_ERROR_FRAME_SPECIAL;
pub use constants::BLOSC2_ERROR_FRAME_TYPE;
pub use constants::BLOSC2_ERROR_INVALID_HEADER;
pub use constants::BLOSC2_ERROR_INVALID_INDEX;
pub use constants::BLOSC2_ERROR_INVALID_PARAM;
pub use constants::BLOSC2_ERROR_MAX_BUFSIZE_EXCEEDED;
pub use constants::BLOSC2_ERROR_MEMORY_ALLOC;
pub use constants::BLOSC2_ERROR_METALAYER_NOT_FOUND;
pub use constants::BLOSC2_ERROR_NOT_FOUND;
pub use constants::BLOSC2_ERROR_NULL_POINTER;
pub use constants::BLOSC2_ERROR_PLUGIN_IO;
pub use constants::BLOSC2_ERROR_POSTFILTER;
pub use constants::BLOSC2_ERROR_READ_BUFFER;
pub use constants::BLOSC2_ERROR_RUN_LENGTH;
pub use constants::BLOSC2_ERROR_SCHUNK_COPY;
pub use constants::BLOSC2_ERROR_SCHUNK_SPECIAL;
pub use constants::BLOSC2_ERROR_STREAM;
pub use constants::BLOSC2_ERROR_SUCCESS;
pub use constants::BLOSC2_ERROR_THREAD_CREATE;
pub use constants::BLOSC2_ERROR_TUNER;
pub use constants::BLOSC2_ERROR_VERSION_SUPPORT;
pub use constants::BLOSC2_ERROR_WRITE_BUFFER;
pub use constants::BLOSC2_GLOBAL_REGISTERED_CODECS;
pub use constants::BLOSC2_GLOBAL_REGISTERED_CODECS_START;
pub use constants::BLOSC2_GLOBAL_REGISTERED_CODECS_STOP;
pub use constants::BLOSC2_GLOBAL_REGISTERED_FILTERS;
pub use constants::BLOSC2_GLOBAL_REGISTERED_FILTERS_START;
pub use constants::BLOSC2_GLOBAL_REGISTERED_FILTERS_STOP;
pub use constants::BLOSC2_GLOBAL_REGISTERED_TUNERS;
pub use constants::BLOSC2_GLOBAL_REGISTERED_TUNER_START;
pub use constants::BLOSC2_GLOBAL_REGISTERED_TUNER_STOP;
pub use constants::BLOSC2_INSTR_CODEC;
pub use constants::BLOSC2_IO_BLOSC_DEFINED;
pub use constants::BLOSC2_IO_FILESYSTEM;
pub use constants::BLOSC2_IO_FILESYSTEM_MMAP;
pub use constants::BLOSC2_IO_REGISTERED;
pub use constants::BLOSC2_IO_USER_DEFINED;
pub use constants::BLOSC2_LAZY_CHUNK;
pub use constants::BLOSC2_MAXBLOCKSIZE;
pub use constants::BLOSC2_MAXDICTSIZE;
pub use constants::BLOSC2_MAXTYPESIZE;
pub use constants::BLOSC2_MAX_BUFFERSIZE;
pub use constants::BLOSC2_MAX_DIM;
pub use constants::BLOSC2_MAX_FILTERS;
pub use constants::BLOSC2_MAX_METALAYERS;
pub use constants::BLOSC2_MAX_OVERHEAD;
pub use constants::BLOSC2_MAX_UDFILTERS;
pub use constants::BLOSC2_MAX_VLMETALAYERS;
pub use constants::BLOSC2_METALAYER_NAME_MAXLEN;
pub use constants::BLOSC2_MINUSEFULDICT;
pub use constants::BLOSC2_NO_SPECIAL;
pub use constants::BLOSC2_SPECIAL_LASTID;
pub use constants::BLOSC2_SPECIAL_MASK;
pub use constants::BLOSC2_SPECIAL_NAN;
pub use constants::BLOSC2_SPECIAL_UNINIT;
pub use constants::BLOSC2_SPECIAL_VALUE;
pub use constants::BLOSC2_SPECIAL_ZERO;
pub use constants::BLOSC2_USEDICT;
pub use constants::BLOSC2_USER_DEFINED_CODECS_START;
pub use constants::BLOSC2_USER_DEFINED_CODECS_STOP;
pub use constants::BLOSC2_USER_DEFINED_FILTERS_START;
pub use constants::BLOSC2_USER_REGISTERED_CODECS_START;
pub use constants::BLOSC2_USER_REGISTERED_CODECS_STOP;
pub use constants::BLOSC2_USER_REGISTERED_FILTERS_START;
pub use constants::BLOSC2_USER_REGISTERED_FILTERS_STOP;
pub use constants::BLOSC2_USER_REGISTERED_TUNER_START;
pub use constants::BLOSC2_USER_REGISTERED_TUNER_STOP;
pub use constants::BLOSC2_VERSION_DATE;
pub use constants::BLOSC2_VERSION_FORMAT;
pub use constants::BLOSC2_VERSION_FORMAT_ALPHA;
pub use constants::BLOSC2_VERSION_FORMAT_BETA1;
pub use constants::BLOSC2_VERSION_FORMAT_STABLE;
pub use constants::BLOSC2_VERSION_FORMAT_VL_BLOCKS;
pub use constants::BLOSC2_VERSION_FRAME_FORMAT;
pub use constants::BLOSC2_VERSION_FRAME_FORMAT_BETA2;
pub use constants::BLOSC2_VERSION_FRAME_FORMAT_RC1;
pub use constants::BLOSC2_VERSION_FRAME_FORMAT_VL_BLOCKS;
pub use constants::BLOSC2_VERSION_MAJOR;
pub use constants::BLOSC2_VERSION_MINOR;
pub use constants::BLOSC2_VERSION_RELEASE;
pub use constants::BLOSC2_VERSION_STRING;
pub use constants::BLOSC2_VLMETALAYERS_NAME_MAXLEN;
pub use constants::BLOSC2_VL_BLOCKS;
pub use constants::BLOSC_ALWAYS_SPLIT;
pub use constants::BLOSC_AUTO_SPLIT;
pub use constants::BLOSC_BITSHUFFLE;
pub use constants::BLOSC_BLOSCLZ;
pub use constants::BLOSC_BLOSCLZ_COMPNAME;
pub use constants::BLOSC_BLOSCLZ_FORMAT;
pub use constants::BLOSC_BLOSCLZ_LIB;
pub use constants::BLOSC_BLOSCLZ_LIBNAME;
pub use constants::BLOSC_BLOSCLZ_VERSION_FORMAT;
pub use constants::BLOSC_BTUNE;
pub use constants::BLOSC_CODEC_GROK;
pub use constants::BLOSC_CODEC_NDLZ;
pub use constants::BLOSC_CODEC_OPENHTJ2K;
pub use constants::BLOSC_CODEC_OPENZL;
pub use constants::BLOSC_CODEC_ZFP_FIXED_ACCURACY;
pub use constants::BLOSC_CODEC_ZFP_FIXED_PRECISION;
pub use constants::BLOSC_CODEC_ZFP_FIXED_RATE;
pub use constants::BLOSC_DELTA;
pub use constants::BLOSC_DOBITSHUFFLE;
pub use constants::BLOSC_DODELTA;
pub use constants::BLOSC_DONT_SPLIT;
pub use constants::BLOSC_DOSHUFFLE;
pub use constants::BLOSC_EXTENDED_HEADER_LENGTH;
pub use constants::BLOSC_FILTER_BYTEDELTA;
pub use constants::BLOSC_FILTER_BYTEDELTA_BUGGY;
pub use constants::BLOSC_FILTER_INT_TRUNC;
pub use constants::BLOSC_FILTER_NDCELL;
pub use constants::BLOSC_FILTER_NDMEAN;
pub use constants::BLOSC_FORWARD_COMPAT_SPLIT;
pub use constants::BLOSC_IO_LAST_BLOSC_DEFINED;
pub use constants::BLOSC_IO_LAST_REGISTERED;
pub use constants::BLOSC_LAST_CODEC;
pub use constants::BLOSC_LAST_FILTER;
pub use constants::BLOSC_LAST_REGISTERED_CODEC;
pub use constants::BLOSC_LAST_REGISTERED_FILTER;
pub use constants::BLOSC_LAST_REGISTERED_TUNE;
pub use constants::BLOSC_LAST_TUNER;
pub use constants::BLOSC_LZ4;
pub use constants::BLOSC_LZ4HC;
pub use constants::BLOSC_LZ4HC_COMPNAME;
pub use constants::BLOSC_LZ4HC_FORMAT;
pub use constants::BLOSC_LZ4HC_VERSION_FORMAT;
pub use constants::BLOSC_LZ4_COMPNAME;
pub use constants::BLOSC_LZ4_FORMAT;
pub use constants::BLOSC_LZ4_LIB;
pub use constants::BLOSC_LZ4_LIBNAME;
pub use constants::BLOSC_LZ4_VERSION_FORMAT;
pub use constants::BLOSC_MAX_BUFFERSIZE;
pub use constants::BLOSC_MAX_OVERHEAD;
pub use constants::BLOSC_MAX_TYPESIZE;
pub use constants::BLOSC_MEMCPYED;
pub use constants::BLOSC_MIN_BUFFERSIZE;
pub use constants::BLOSC_MIN_HEADER_LENGTH;
pub use constants::BLOSC_NEVER_SPLIT;
pub use constants::BLOSC_NOFILTER;
pub use constants::BLOSC_NOSHUFFLE;
pub use constants::BLOSC_SCHUNK_FORMAT;Deprecated
pub use constants::BLOSC_SCHUNK_LIB;
pub use constants::BLOSC_SHUFFLE;
pub use constants::BLOSC_STUNE;
pub use constants::BLOSC_TRUNC_PREC;
pub use constants::BLOSC_UDCODEC_FORMAT;
pub use constants::BLOSC_UDCODEC_LIB;
pub use constants::BLOSC_UDCODEC_VERSION_FORMAT;
pub use constants::BLOSC_VERSION_DATE;
pub use constants::BLOSC_VERSION_MAJOR;
pub use constants::BLOSC_VERSION_MINOR;
pub use constants::BLOSC_VERSION_RELEASE;
pub use constants::BLOSC_VERSION_STRING;
pub use constants::BLOSC_ZLIB;
pub use constants::BLOSC_ZLIB_COMPNAME;
pub use constants::BLOSC_ZLIB_FORMAT;
pub use constants::BLOSC_ZLIB_LIB;
pub use constants::BLOSC_ZLIB_LIBNAME;
pub use constants::BLOSC_ZLIB_VERSION_FORMAT;
pub use constants::BLOSC_ZSTD;
pub use constants::BLOSC_ZSTD_COMPNAME;
pub use constants::BLOSC_ZSTD_FORMAT;
pub use constants::BLOSC_ZSTD_LIB;
pub use constants::BLOSC_ZSTD_LIBNAME;
pub use constants::BLOSC_ZSTD_VERSION_FORMAT;
pub use filters::blosc2_bitshuffle;
pub use filters::blosc2_bitunshuffle;
pub use filters::blosc2_register_filter;
pub use filters::blosc2_register_filter_abi;
pub use filters::blosc2_shuffle;
pub use filters::blosc2_unshuffle;
pub use filters::register_blosc2_filter_c;
pub use filters::register_blosc2_filter_c as blosc2_register_filter_c;
pub use filters::Blosc2CParams as Blosc2FilterCParams;
pub use filters::Blosc2DParams as Blosc2FilterDParams;
pub use filters::Blosc2Filter;
pub use filters::Blosc2FilterAbi;
pub use filters::Blosc2FilterBackwardCb;
pub use filters::Blosc2FilterForwardCb;
pub use schunk::blosc2_frame_get_offsets;
pub use schunk::blosc2_get_slice_nchunks;
pub use schunk::blosc2_meta_add;
pub use schunk::blosc2_meta_add_c;
pub use schunk::blosc2_meta_delete;
pub use schunk::blosc2_meta_exists;
pub use schunk::blosc2_meta_get;
pub use schunk::blosc2_meta_get_names;
pub use schunk::blosc2_meta_update;
pub use schunk::blosc2_meta_update_c;
pub use schunk::blosc2_schunk_append_buffer;
pub use schunk::blosc2_schunk_append_buffer_c;
pub use schunk::blosc2_schunk_append_chunk;
pub use schunk::blosc2_schunk_append_chunk_c;
pub use schunk::blosc2_schunk_append_chunk_owned;
pub use schunk::blosc2_schunk_append_file;
pub use schunk::blosc2_schunk_append_vlblocks_c;
pub use schunk::blosc2_schunk_copy;
pub use schunk::blosc2_schunk_copy_c;
pub use schunk::blosc2_schunk_decompress_chunk;
pub use schunk::blosc2_schunk_decompress_chunk_c;
pub use schunk::blosc2_schunk_decompress_vlblock_c;
pub use schunk::blosc2_schunk_delete_chunk;
pub use schunk::blosc2_schunk_fill_special;
pub use schunk::blosc2_schunk_frame_get_offsets;
pub use schunk::blosc2_schunk_frame_len;
pub use schunk::blosc2_schunk_free_c;
pub use schunk::blosc2_schunk_free_c as blosc2_schunk_free;
pub use schunk::blosc2_schunk_from_buffer;
pub use schunk::blosc2_schunk_from_buffer_c;
pub use schunk::blosc2_schunk_from_buffer_owned;
pub use schunk::blosc2_schunk_from_buffer_owned_c;
pub use schunk::blosc2_schunk_from_buffer_vec;
pub use schunk::blosc2_schunk_get_chunk;
pub use schunk::blosc2_schunk_get_chunk_ref;
pub use schunk::blosc2_schunk_get_cparams;
pub use schunk::blosc2_schunk_get_cparams_c;
pub use schunk::blosc2_schunk_get_dparams;
pub use schunk::blosc2_schunk_get_dparams_c;
pub use schunk::blosc2_schunk_get_lazychunk_c;
pub use schunk::blosc2_schunk_get_lazychunk_c as blosc2_schunk_get_lazychunk;
pub use schunk::blosc2_schunk_get_slice_buffer;
pub use schunk::blosc2_schunk_get_slice_buffer_c;
pub use schunk::blosc2_schunk_get_slice_buffer_size_c;
pub use schunk::blosc2_schunk_get_slice_nchunks;
pub use schunk::blosc2_schunk_get_slice_nchunks_c;
pub use schunk::blosc2_schunk_get_vlblock;
pub use schunk::blosc2_schunk_insert_buffer;
pub use schunk::blosc2_schunk_insert_buffer_c;
pub use schunk::blosc2_schunk_insert_chunk;
pub use schunk::blosc2_schunk_insert_chunk_c;
pub use schunk::blosc2_schunk_insert_chunk_owned;
pub use schunk::blosc2_schunk_insert_vlblocks_c;
pub use schunk::blosc2_schunk_new_c;
pub use schunk::blosc2_schunk_new_c as blosc2_schunk_new;
pub use schunk::blosc2_schunk_open;
pub use schunk::blosc2_schunk_open_c;
pub use schunk::blosc2_schunk_open_lazy;
pub use schunk::blosc2_schunk_open_lazy_c;
pub use schunk::blosc2_schunk_open_lazy_offset;
pub use schunk::blosc2_schunk_open_lazy_offset_c;
pub use schunk::blosc2_schunk_open_offset;
pub use schunk::blosc2_schunk_open_offset_c;
pub use schunk::blosc2_schunk_reorder_offsets;
pub use schunk::blosc2_schunk_set_slice_buffer;
pub use schunk::blosc2_schunk_set_slice_buffer_c;
pub use schunk::blosc2_schunk_set_slice_buffer_size_c;
pub use schunk::blosc2_schunk_to_buffer;
pub use schunk::blosc2_schunk_to_buffer_vec;
pub use schunk::blosc2_schunk_to_file;
pub use schunk::blosc2_schunk_update_buffer;
pub use schunk::blosc2_schunk_update_buffer_c;
pub use schunk::blosc2_schunk_update_chunk;
pub use schunk::blosc2_schunk_update_chunk_c;
pub use schunk::blosc2_schunk_update_chunk_owned;
pub use schunk::blosc2_schunk_update_vlblocks_c;
pub use schunk::blosc2_vlmeta_add;
pub use schunk::blosc2_vlmeta_add_c;
pub use schunk::blosc2_vlmeta_delete;
pub use schunk::blosc2_vlmeta_exists;
pub use schunk::blosc2_vlmeta_get;
pub use schunk::blosc2_vlmeta_get_names;
pub use schunk::blosc2_vlmeta_update;
pub use schunk::blosc2_vlmeta_update_c;
pub use schunk::LazyChunkRef;
pub use schunk::LazySchunk;
pub use schunk::Metalayer;
pub use schunk::Schunk;
pub use utils::blosc2_destroy;
pub use utils::blosc2_error_string;
pub use utils::blosc2_free_resources;
pub use utils::blosc2_init;
pub use utils::blosc2_multidim_to_unidim;
pub use utils::blosc2_multidim_to_unidim_checked;
pub use utils::blosc2_multidim_to_unidim_ndim;
pub use utils::blosc2_multidim_to_unidim_ndim_checked;
pub use utils::blosc2_remove_dir;
pub use utils::blosc2_remove_urlpath;
pub use utils::blosc2_rename_urlpath;
pub use utils::blosc2_unidim_to_multidim;
pub use utils::blosc2_unidim_to_multidim_checked;
pub use utils::blosc2_unidim_to_multidim_ndim;
pub use utils::blosc2_unidim_to_multidim_ndim_checked;
pub use utils::blosc_destroy;
pub use utils::blosc_free_resources;
pub use utils::blosc_init;

Modules§

b2nd
Blosc2 N-dimensional array (b2nd) layer.
codecs
Compression codec dispatch for Blosc2 blocks.
compress
Core compression and decompression engine for Blosc2 chunks.
constants
Blosc2 protocol constants: format versions, codec/filter IDs, header flags, chunk header field offsets, and buffer-size limits.
filters
Filters that pre-process a block of data before it is fed to the codec.
header
Parsing and writing of the per-chunk Blosc/Blosc2 header.
schunk
Super-chunks and the Blosc2 frame container format.
utils
Small C-Blosc2-compatible utility helpers.