Lines Matching defs:next
20 /// `BytesReader` provides the basic byte read interface, such as `next`,
21 /// `peek`, `index`. Users can obtain the next byte or the current read
27 /// Get the next character and move the cursor to the next place.
28 fn next(&mut self) -> Result<Option<u8>, Self::Error>;
30 /// Get the next character, but don't move the cursor. So the next read
34 /// Discard the next character and move the cursor to the next place.
89 /// Read the next 'n' bytes and move the cursor to the next nth position.
94 /// Get the next 'n' bytes and do not move the cursor. If there are not
98 /// Discard the next 'n' bytes and move the cursor to the next nth position.