HostAddress

data class HostAddress(val host: String, val port: Int)

Host and port pair encoded in the Hytale referral format.

Constructors

Link copied to clipboard
constructor(host: String, port: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val port: Int

Functions

Link copied to clipboard
fun serialize(buf: ByteBuf)

Writes the address to buf using little-endian port and length-prefixed host.