1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
mod basic_type; mod container; mod value; use crate::{DecodeResult, Decoder, Value}; use std::ops::Deref; impl<'a, T> Decoder<'a, T> where T: Deref<Target = [u8]>, { /// Decode a byte array to a `Value` object. pub fn value(&mut self, is_le: bool, sig: &str) -> DecodeResult<Vec<Value>> { self.v(is_le, 0, 0, sig) } }