pub fn write_fixed<T>(&mut self, value: &T) -> P {

        let target_ptr = self.alloc_write_space(mem::size_of::<T>() as u64);

        let flatfile   = self.get_flatfile(target_ptr.get_file_number());

        flatfile.put(value, target_ptr.get_file_offset() as usize);

        target_ptr
    }
/// Appends the given value to the flatfileset and returns a filepos
///
/// Internally, this will ensure creation of new files
Appends the given value to the flatfileset and returns a filepos
Internally, this will ensure creation of new files
Appends the given value to the flatfileset and returns a filepos Internally this will ensure creation of new files
pub fn write_fixed<T>(&mut self, value: &T) -> P {
        let target_ptr = self.alloc_write_space(mem::size_of::<T>() as u64);
        let flatfile   = self.get_flatfile(target_ptr.get_file_number());
        flatfile.put(value, target_ptr.get_file_offset() as usize);
        target_ptr
    }
pub fn write_fixed < T > ( & mut self , value : & T ) -> P { let target_ptr = self . alloc_write_space ( mem :: size_of :: < T > ( ) as u64 ) ; let flatfile = self . get_flatfile ( target_ptr . get_file_number ( ) ) ; flatfile . put ( value , target_ptr . get_file_offset ( ) as usize ) ; target_ptr }
Appends the given value to the flatfileset and returns a filepos
Internally, this will ensure creation of new files
Appends the given value to the flatfileset and returns a filepos Internally this will ensure creation of new files
&mut self
value
&T
&mut self
value
&T