Skip to main content

decode_v6

Function decode_v6 

Source
pub fn decode_v6(bytes: &[u8]) -> Result<SocketAddrV6, Error>
Expand description

Decode exactly one eighteen-byte endpoint. Scope and flow info are zero; neither is present on the wire. Mapped addresses remain IPv6, not IPv4.