pub fn pretty_read<T>(reader: &mut Cursor<&[u8]>) -> Result<T> where
    T: BinRead