[21:21] static (extern: com.aussom.stdlib.ABase64) extends: object
The static base64 class provides functions for base64 encoding and decoding.
encode (object BufferObj)
Converts binary buffer object to base64 encoded hex string.
BufferObj is the binary buffer object to convert.An encoded string.encodeRaw (object BufferObj)
Converts binary buffer object to raw base64 encoded string.
BufferObj is the binary buffer object to convert.An encoded string.decode (string B64EncodedString)
Converts base64 encoded hex string to binary buffer object.
B64EncodedString is a base64 encoded string.A binary buffer object with the result.decodeRaw (string B64EncodedString)
Converts base64 encoded raw string to binary buffer object.
B64EncodedString is a base64 encoded string.A binary buffer object with the result.[76: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.[55: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.[97: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.