[][src]Function metagoblin::peek

pub fn peek<R>(fd: &mut R) -> Result<Hint, Error> where
    R: Read + Seek

Peeks at the underlying Read object. Requires the underlying bytes to have at least 16 byte length. Resets the seek to Start after reading.