hickory_proto::op::message

Function update_header_counts

Source
pub fn update_header_counts(
    current_header: &Header,
    is_truncated: bool,
    counts: HeaderCounts,
) -> Header
Expand description

Returns a new Header with accurate counts for each Message section