punycode

RFC 3492 Punycode for MoonBit

unicode
punycode
rfc3492
moon add tonyfettes/punycode@0.4.0
Download zip
Version
0.4.0
License
Apache-2.0
Last updated
last month
Downloads
6
README

#punycode

RFC 3492 Punycode encoding and decoding for MoonBit.

moon add tonyfettes/punycode

See the repository root README for API documentation and examples.

#
PunycodeError

pub(all) suberror PunycodeError {
Overflow
InvalidInput
BadInput
}

Error type for Punycode operations

#
decode

fn decode(input : String) -> String raise PunycodeError

Decode a Punycode string to Unicode

#
encode

fn encode(input : String) -> String raise PunycodeError

Encode a Unicode string to Punycode

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io