Function libipld_cbor::decode::read_major
source · pub fn read_major<R: Read>(r: &mut R) -> Result<Major>
Expand description
Read a and validate major “byte”. This includes both the major type and the additional info.
pub fn read_major<R: Read>(r: &mut R) -> Result<Major>
Read a and validate major “byte”. This includes both the major type and the additional info.