Constant strict_encoding::net::UNIFORM_LEN[][src]

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; // 0x0000_0000_0000_0025usize
Expand description

Standard length for the whole uniformly-encoded address data, including host and protocol parts.