Struct bytecodec::fixnum::U8Decoder [−][src]
pub struct U8Decoder(_);
Expand description
Decoder which decodes u8
values.
Examples
use bytecodec::Decode; use bytecodec::fixnum::U8Decoder; use bytecodec::io::IoDecodeExt; let mut decoder = U8Decoder::new(); let item = decoder.decode_exact([7].as_ref()).unwrap(); assert_eq!(item, 7);
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for U8Decoder
impl UnwindSafe for U8Decoder