use std::num::NonZero;
pub use error::Error;
mod error;
#[derive(Debug)]
pub struct Prefix<const MAX: u32> {
pub(in crate::buffer) start: u32,
pub(in crate::buffer) end: NonZero<u32>,
}
impl<const MAX: u32> Prefix<MAX> {
pub const fn count(&self) -> NonZero<u32> {
self.end
}
}