Struct parity_scale_codec::IoReader
source · [−]pub struct IoReader<R: Read>(pub R);
Expand description
Wrapper that implements Input for any Read
type.
Tuple Fields
0: R
Trait Implementations
Should return the remaining length of the input data. If no information about the input
length is available, None
should be returned. Read more
Read the exact number of bytes required to fill the given buffer. Read more
Descend into nested reference when decoding.
This is called when decoding a new refence-based instance,
such as Vec
or Box
. Currently all such types are
allocated on the heap. Read more
Ascend to previous structure level when decoding. This is called when decoding reference-based type is finished. Read more