Open Ted-Jiang opened 2 years ago
I want to skip some bytes when reading. But i found the 'Bytes' not 'std::io::seek' is there any peculiar reason? Or any other method 🤔?
A Bytes doesn't support seeking backwards, so it can't implement the trait.
Bytes
I want to skip some bytes when reading. But i found the 'Bytes' not 'std::io::seek' is there any peculiar reason? Or any other method 🤔?