Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
* * Decodes an identifier into its corresponding byte slice. * * @param {string} str Identifier to convert. * * @return {[]byte} The identifier as a byte slice.
func Encode ¶
* * Encodes an arbitrary byte slice into an identifier. * * @param {[]byte} buf Slice of bytes to encode. * * @return {string} The given byte slice as an identifier.
func IsProquint ¶
* * Tests if a given string is a Proquint identifier * * @param {string} str The candidate string. * * @return {bool} Whether or not it qualifies. * @return {error} Error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.