png::traits

Trait ReadBytesExt

Source
pub trait ReadBytesExt<T>: Read {
    // Required method
    fn read_be(&mut self) -> Result<T>;
}
Expand description

Read extension to read big endian data

Required Methods§

Source

fn read_be(&mut self) -> Result<T>

Read T from a bytes stream. Most significant byte first.

Implementors§

Source§

impl<W: Read + ?Sized> ReadBytesExt<u8> for W

Source§

impl<W: Read + ?Sized> ReadBytesExt<u16> for W

Source§

impl<W: Read + ?Sized> ReadBytesExt<u32> for W