Package org.ldk.structs
Class Hostname
- java.lang.Object
-
- org.ldk.structs.Hostname
-
public class Hostname extends Object
Represents a hostname for serialization purposes. Only the character set and length will be validated. The character set consists of ASCII alphanumeric characters, hyphens, and periods. Its length is guaranteed to be representable by a single byte. This serialization is used by BOLT 7 hostnames.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hostnameclone()Creates a copy of the Hostnameprotected voidfinalize()bytelen()Returns the length of the hostname.
-