pub trait FileByteSource {
    fn read_bytes_into(
        &self,
        buffer: &mut Vec<u8>,
        offset: u64,
        size: usize
    ) -> FileAndPathHelperResult<()>; }

Required Methods

Read size bytes at offset offset and append them to buffer. If successful, buffer must have had its len increased exactly by size, otherwise the caller may panic.

Implementors