1pub(crate) mod array_kind;
2pub(crate) mod byte_transpose;
3pub mod filter_summary;
4pub(crate) mod header;
5pub(crate) mod meta_groups;
6pub(crate) mod packing;
7pub mod range;
8pub(crate) mod windowing;
9pub use array_kind::ArrayKind;
10pub use filter_summary::{ChromatogramSummary, SpectrumSummary};
11pub use range::{ByteRange, Range};
12pub(crate) mod decoder;
13pub(crate) mod format;
14pub mod scan;
15pub(crate) mod version_generated;
16pub(crate) use decoder::utilities;
17#[cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))]
18pub use decoder::utilities::byte_source::FileSource;
19pub use decoder::{
20 decode::{
21 ArrayAddress, DataXY, IonReader, ItemKind, ItemSlice, Pixel, Query, ReadOptions, Select,
22 Window, coalesce_byte_ranges, open_ranges,
23 },
24 utilities::{
25 byte_source::{BytesSource, CallbackSource, ReadBytes, SourceBytes},
26 decompression_limit::{DEFAULT_MAX_UNCOMPRESSED_SIZE, DecompressionLimit},
27 },
28};
29pub use header::{
30 HEADER_FORMAT_VERSION_OFFSET, get_total_file_size_from_header, get_version_from_header,
31 update_header_version,
32};
33pub(crate) mod encoder;
34#[cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))]
35pub use encoder::utilities::FileWriter;
36pub use encoder::{
37 encode::{DEFAULT_MZ_WINDOW, TARGET_BLOCK_UNCOMPRESSED_BYTES, WriteOptions},
38 ion_writer::{IonWriter, write_mzml_to_ion},
39 scan_stream::{MemoryReader, ScanStream},
40 utilities::{SectionStorage, WriteBytes},
41};
42pub use format::{
43 CODEC_NONE, CODEC_ZSTD, CURRENT_VERSION, FILE_SIGNATURE, FILE_TRAILER, HEADER_SIZE,
44 MAX_SUPPORTED_VERSION, MIN_SUPPORTED_VERSION, allow_version, is_supported,
45};
46pub(crate) mod attr_meta;
47pub mod error;
48pub use error::{IonError, IonResult};