Skip to main content

read_dns_archive

Function read_dns_archive 

Source
pub fn read_dns_archive<R: Read>(
    reader: &mut R,
    out_quins: &mut [NQuin],
) -> Result<(DnsArchiveHeader, usize)>
Expand description

Read archived NQuin records from an input stream into caller-supplied out_quins.

Returns the header and count of records read. Zero heap allocation.