Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Module juptune.data.utf8

Aliases

Name Description
AllAlgorithms

Unittests

Utf8DefaultAlgorithm

Algorithms

Utf8EncodeCharBuffer
Utf8FallbackAlgorithm

A fallback set of algorithms that should work on any platform. This'll usually be the slowest implementation, but that should generally still be fast enough for most cases.

Enums

Name Description
Utf8Error

A Resulterror enum.

Functions

Name Description
utf8DecodeNext

Validates and decodes the next UTF-8 codepoint from the given input.

utf8Encode

Encodes (but does not validate) the given Unicode codepoint into UTF-8 codeunits.

utf8Length

Helper function to easily count the amount of codepoints within the given UTF-8 input.

utf8Validate

Validates that the entirety of the given input is a correct, well-formed UTF-8 string.