MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / id

Method id

tcp/src/dns.rs:103–105  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

101 }
102
103 fn id(&self) -> u16 {
104 u16::from_be_bytes(self.datagram[0..2].try_into().unwrap())
105 }
106
107 fn header(&self) -> u16 {
108 u16::from_be_bytes(self.datagram[2..4].try_into().unwrap())

Callers 1

resolveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected