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