⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

decode_tag

Function decode_tag 

Source
pub fn decode_tag(
    data: &[u8],
) -> Result<(TagClass, bool, u8, usize), KernelError>
Expand description

Decode a tag from the data stream.

Returns (class, constructed, tag_number, bytes_consumed).