Constant strict_encoding::net::UNIFORM_LEN
source · [−]pub const UNIFORM_LEN: usize = ADDR_LEN
+ 1 // Prefix byte for specifying address format (IP, Onion, etc)
+ 2 // Suffix byte for specifying port number
+ 1; // 37usize
Expand description
Standard length for the whole uniformly-encoded address data, including host and protocol parts.