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

decode_dns_name

Function decode_dns_name 

Source
pub fn decode_dns_name(
    buf: &[u8],
    offset: usize,
) -> Result<(String, usize), MdnsError>
Expand description

Decode a DNS wire-format name from a buffer at the given offset. Returns the decoded name and the number of bytes consumed from offset.