Determine what power of 10 the port number is so we can allocate the exact amount of bytes for its string representation.
Determine what power of 10 the port number is so we can allocate the exact amount of bytes for its string representation.

bnoordhuis/uriparser2