RandomAccessFile

Trait RandomAccessFile 

Source
pub trait RandomAccessFile: ReadonlyRandomAccessFile + Write {
    // Required method
    fn append(&mut self, buf: &[u8]) -> Result<usize>;
}
Expand description

Supertrait that wraps a source of binary content that is readable and writable and can operate on arbitrary offets into the content.

Required Methods§

Source

fn append(&mut self, buf: &[u8]) -> Result<usize>

Append the buffer buf to the end of this writer.

Implementations on Foreign Types§

Source§

impl RandomAccessFile for File

Source§

fn append(&mut self, buf: &[u8]) -> Result<usize>

Implementors§