libhumancode 2.0.1

A `no_std` compatible library that provides a function to enode binary data up to 150 bits in a human friendly format.
Documentation
#[derive(Copy, Clone, Debug)]
pub struct SmallByteBuf<const N: usize> {
    buf: [u8; N],
    len: u8,
}

impl<const N: usize> SmallByteBuf<N> {
    pub fn new(buf: [u8; N], len: u8) -> SmallByteBuf<N> {
        SmallByteBuf { buf, len }
    }

    pub fn len(&self) -> usize {
        self.len as usize
    }

    pub fn as_bytes(&self) -> &[u8] {
        &self.buf[0..self.len as usize]
    }

    pub fn as_mut_bytes(&mut self) -> &mut [u8] {
        &mut self.buf[0..self.len as usize]
    }
}