/// Read a library from a sequence of bytes
Read a library from a sequence of bytes
Read a library from a sequence of bytes
pub fn read(bin: &'a [u8]) -> Result<Self, ()>
    {
        match bincode::deserialize(bin) {
            Err(_) => Err(()),
            Ok(lib) => Ok(lib)
        }
    }
pub fn read ( bin : & ' a [ u8 ] ) -> Result < Self , ( ) > { match bincode :: deserialize ( bin ) { Err ( _ ) => Err ( ( ) ) , Ok ( lib ) => Ok ( lib ) } }
Read a library from a sequence of bytes
Read a library from a sequence of bytes
bin
&'a [u8]