namba 0.1.0

A fast, lightweight library for parsing, validating, and formatting phone numbers
Documentation
1
2
3
4
5
pub(crate) const MAGIC: &[u8] = b"NAMBA\0\x01";
pub(crate) const TAG: u8 = b'P';
pub(crate) const RECORD_BYTES: usize =
    size_of::<u64>() + size_of::<u8>() + size_of::<u32>() + size_of::<u16>();
pub(crate) const HEADER_BYTES: usize = MAGIC.len() + 1 + size_of::<u32>();