mcutils
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
mcutils
shared
/
tech.aliorpse.mcutils.util
/
hostPortOf
host
Port
Of
fun
hostPortOf
(
address
:
String
?
)
:
HostPort
Parses a host:port? String into
HostPort
.
Empty input → HostPort(null, null)
Invalid ports → null