Deserializer
docs shorten link
This commit is contained in:
parent
f279b0d5ea
commit
0470a0faa3
@ -39,7 +39,9 @@ pub trait Deserializer {
|
|||||||
fn read_n(&mut self, n: usize) -> &[u8];
|
fn read_n(&mut self, n: usize) -> &[u8];
|
||||||
/// Read til the end of the stream.
|
/// Read til the end of the stream.
|
||||||
fn read_all(&mut self) -> &[u8];
|
fn read_all(&mut self) -> &[u8];
|
||||||
/// Current position of the stream. Used by [`crate::rstd::inlining::CheckedParse`].
|
/// Current position of the stream. Used by [`CheckedParse`].
|
||||||
|
///
|
||||||
|
/// [`CheckedParse`]: crate::rstd::inlining::CheckedParse
|
||||||
fn tell(&self) -> usize;
|
fn tell(&self) -> usize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user