pub fn write_pref(&mut self, pos: usize, pref: PRef) {
        let mut buf = [0u8; 6];
        BigEndian::write_u48(&mut buf, pref.as_u64());
        self.content[pos..pos+6].copy_from_slice(&buf[..]);
    }
/// write a pref into the page
write a pref into the page
write a pref into the page
pub fn write_pref(&mut self, pos: usize, pref: PRef) {
        let mut buf = [0u8; 6];
        BigEndian::write_u48(&mut buf, pref.as_u64());
        self.content[pos..pos+6].copy_from_slice(&buf[..]);
    }
pub fn write_pref ( & mut self , pos : usize , pref : PRef ) { let mut buf = [ 0u8 ; 6 ] ; BigEndian :: write_u48 ( & mut buf , pref . as_u64 ( ) ) ; self . content [ pos .. pos + 6 ] . copy_from_slice ( & buf [ .. ] ) ; }
write a pref into the page
write a pref into the page
&mut self
pos
usize
pref
PRef