This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Constant
max_len
Public Constant
std.Io.net.HostName.max_len
pubconstmax_len = 254
The maximum number of bytes needed to store the text representation of a max length host name, where labels are separated by dots, including the trailing dot and the zero-length root label.
The max length of a host name is determined by its packet representation, where each label has a length prefix of 1 octet, the root label has a length of 0, and the maximum total number of octets is 255.
The maximum number of bytes needed to store the text representation of a max length host name, where labels are separated by dots, including the trailing dot and the zero-length root label.
The max length of a host name is determined by its packet representation, where each label has a length prefix of 1 octet, the root label has a length of 0, and the maximum total number of octets is 255.
See RFC 1035, Section 3.1