Trait png::traits::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