Basics
Guides
API Reference
Basics
Guides
API Reference
[21:21] static (extern: com.aussom.stdlib.ABase64) extends: object
The static base64 class provides functions for base64 encoding and decoding.
encode (string Str)
Encodes a string to a standard base64 string. The string is read as UTF-8 bytes. This is the everyday string path.
Str is the string to encode.A base64 encoded string.decode (string B64EncodedString)
Decodes a standard base64 string back to a string, reading the decoded bytes as UTF-8. Use this when the base64 represents text; use decodeBinary for arbitrary bytes.
B64EncodedString is a base64 encoded string.The decoded string.encodeBinary (object BufferObj)
Encodes a binary Buffer object to a standard base64 string.
BufferObj is the binary Buffer object to encode.A base64 encoded string.decodeBinary (string B64EncodedString)
Decodes a standard base64 string to a binary Buffer object.
B64EncodedString is a base64 encoded string.A binary Buffer object with the decoded bytes.encodeSafe (string Str)
Encodes a string to a safe encoded string. The output uses only the characters 0-9 and a-f (hex of base64), so it needs no escaping in URLs, filenames, headers, or other text. The string is read as UTF-8 bytes.
Str is the string to encode.A safe encoded string.decodeSafe (string SafeEncodedString)
Decodes a safe encoded string (see encodeSafe) back to a string, reading the decoded bytes as UTF-8.
SafeEncodedString is a safe encoded string.The decoded string.[97:21] static (extern: com.aussom.stdlib.AUuid) extends: object
The static uuid class provides universal ID creation functionality.
get ()
Standard globally unique id.
A string with the generated UUID.getSecure ()
Generates a globally unique id. Uses SHA-1 to reduce predictability.
A string with the generated UUID.[76:21] static (extern: com.aussom.stdlib.AHex) extends: object
The static hex class provides functions for hex encoding and decoding.
encode (object BufferObj)
Converts binary Buffer object to hex string.
BufferObj is a binary Buffer object to convert.A hex encoded string.decode (string HexEncodedString)
Converts hex string to binary Buffer object.
HexEncodedString is a string to encode.A binary Buffer object with the decoded value.[118:21] static (extern: com.aussom.stdlib.ARegex) extends: object
The static regex class provides various regular expression functionality. Aussom uses Java regular expressions.
match (string RegexStr, string Haystack)
Returns a list of string matches.
RegexStr is a string with the regular expression.Haystack is a string to search.A list of strings with the match results.matchFirst (string RegexStr, string Haystack)
Returns a string with the match, or null if no matches found.
RegexStr is a string with the regular expression.Haysack is a string to search.A string with the first match if found or null if not.matchLast (string RegexStr, string Haystack)
Returns a string with the match, or null if no matches found.
RegexStr is a string with the regular expression.Haysack is a string to search.A string with the last match if found or null if not.replace (string RegexStr, string ReplaceStr, string Haystack)
Replaces all occurrences with replacement string.
RegexStr is a string with the regular expression.ReplaceStr is a string with the value to replace.Haysack is a string to search.A string that's been replaced.replaceFirst (string RegexStr, string ReplaceStr, string Haystack)
Replaces first occurrence with replacement string.
RegexStr is a string with the regular expression.ReplaceStr is a string with the value to replace.Haysack is a string to search.A string that's been replaced.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.