pub fn from_slice(slice: &[u8]) -> Hash32Buf {
        let mut result: Hash32Buf = Hash32Buf([0;32]);
        result.0.as_mut().copy_from_slice(&slice[0..32]);
        result
    }
/// Copies a slice into an owned buffer
Copies a slice into an owned buffer
Copies a slice into an owned buffer
pub fn from_slice(slice: &[u8]) -> Hash32Buf {
        let mut result: Hash32Buf = Hash32Buf([0;32]);
        result.0.as_mut().copy_from_slice(&slice[0..32]);
        result
    }
pub fn from_slice ( slice : & [ u8 ] ) -> Hash32Buf { let mut result : Hash32Buf = Hash32Buf ( [ 0 ; 32 ] ) ; result . 0 . as_mut ( ) . copy_from_slice ( & slice [ 0 .. 32 ] ) ; result }
Copies a slice into an owned buffer
Copies a slice into an owned buffer
slice
&[u8]
slice
&[u8]