Function goblin::peek [] [src]

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

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