Function goblin::peek

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

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