pub fn read_fixed_readonly<T>(&self, pos: P) -> &'static mut T {

        let fileno   = pos.get_file_number();
        let filepos  = pos.get_file_offset();
        let file     = self.get_flatfile_readonly(fileno);

        file.get(filepos as usize)
    }
/// Reads the fixed size buffer at the given position
/// But panics if this requires to map more files
///
/// This allows it to be called with an immutable reference
Reads the fixed size buffer at the given position
But panics if this requires to map more files

This allows it to be called with an immutable reference
Reads the fixed size buffer at the given position But panics if this requires to map more files This allows it to be called with an immutable reference
pub fn read_fixed_readonly<T>(&self, pos: P) -> &'static mut T {
        let fileno   = pos.get_file_number();
        let filepos  = pos.get_file_offset();
        let file     = self.get_flatfile_readonly(fileno);
        file.get(filepos as usize)
    }
pub fn read_fixed_readonly < T > ( & self , pos : P ) -> & ' static mut T { let fileno = pos . get_file_number ( ) ; let filepos = pos . get_file_offset ( ) ; let file = self . get_flatfile_readonly ( fileno ) ; file . get ( filepos as usize ) }
Reads the fixed size buffer at the given position
But panics if this requires to map more files
Reads the fixed size buffer at the given position But panics if this requires to map more files
&self
pos
P
&self
pos
P