Trait n5::ReadableDataBlock
[−]
[src]
pub trait ReadableDataBlock { fn read_data(&mut self, source: &mut Read) -> Result<()>; }
Required Methods
fn read_data(&mut self, source: &mut Read) -> Result<()>
Unlike Java N5, read the stream directly into the block data instead of creating a copied byte buffer.
Implementors
impl ReadableDataBlock for VecDataBlock<u16>
impl ReadableDataBlock for VecDataBlock<u32>
impl ReadableDataBlock for VecDataBlock<u64>
impl ReadableDataBlock for VecDataBlock<i16>
impl ReadableDataBlock for VecDataBlock<i32>
impl ReadableDataBlock for VecDataBlock<i64>
impl ReadableDataBlock for VecDataBlock<f32>
impl ReadableDataBlock for VecDataBlock<f64>
impl ReadableDataBlock for VecDataBlock<u8>
impl ReadableDataBlock for VecDataBlock<i8>