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

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

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

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

        target_ptr
    }
/// Appends the elements of the slice to flatfileset and returns a pointer
///
/// The element count is not stored
Appends the elements of the slice to flatfileset and returns a pointer
The element count is not stored
Appends the elements of the slice to flatfileset and returns a pointer The element count is not stored
pub fn write_all<T>(&mut self, value: &[T]) -> P {
        let target_ptr = self.alloc_write_space((value.len() * mem::size_of::<T>()) as u64 );
        let flatfile   = self.get_flatfile(target_ptr.get_file_number());
        flatfile.put_slice(value, target_ptr.get_file_offset() as usize);
        target_ptr
    }
pub fn write_all < T > ( & mut self , value : & [ T ] ) -> P { let target_ptr = self . alloc_write_space ( ( value . len ( ) * mem :: size_of :: < T > ( ) ) as u64 ) ; let flatfile = self . get_flatfile ( target_ptr . get_file_number ( ) ) ; flatfile . put_slice ( value , target_ptr . get_file_offset ( ) as usize ) ; target_ptr }
Appends the elements of the slice to flatfileset and returns a pointer
The element count is not stored
Appends the elements of the slice to flatfileset and returns a pointer The element count is not stored
&mut self
value
&[T]
&mut self
value
&[T]