MCPcopy Create free account
hub / github.com/DNSCrypt/encrypted-dns-server / nscount

Function nscount

src/dns.rs:92–94  ·  view source on GitHub ↗
(packet: &[u8])

Source from the content-addressed store, hash-verified

90
91#[inline]
92fn nscount(packet: &[u8]) -> u16 {
93 BigEndian::read_u16(&packet[8..])
94}
95
96#[inline]
97pub fn arcount(packet: &[u8]) -> u16 {

Callers 4

min_ttlFunction · 0.85
set_ttlFunction · 0.85
query_metaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected