mod async_streams;
mod streams;
pub(crate) use qubit_io::try_reserve_vec;
pub(crate) use async_streams::{
read_exactly_async,
read_leb128_payload_async,
read_utf8_payload_async,
write_all_async,
};
pub(crate) use streams::{
MIN_CODEC_BUFFER_CAPACITY,
checked_u16_len,
checked_u32_len,
checked_u64_len,
decode_infallible_unchecked,
encode_infallible_unchecked,
read_leb128_from_reader,
read_leb128_payload,
read_utf8_payload,
write_all,
write_utf8_payload,
write_utf8_string_with_u16_len,
write_utf8_string_with_u32_len,
};
#[cfg(not(any(
target_pointer_width = "32",
target_pointer_width = "64"
)))]
pub(crate) use streams::usize_from_u32_len;
#[cfg(not(target_pointer_width = "64"))]
pub(crate) use streams::usize_from_u64_len;