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

Enums Utf8Error

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module juptune.data.utf8;

enum Utf8Error : int
{
    ///
    none = 0, 
    /// A leading byte is simply just invalid, and can never be used to represent a valid codepoint. 
    invalid = 1, 
    /// A leading byte has too little continuation bytes. 
    tooShort = 2, 
    /// A continuation byte was found when a leading byte was expected - too many continuation bytes were used in the previous codepoint. 
    tooLong = 3, 
    /// The codepoint must be above U+7F when two bytes; U+7FF when three bytes, and U+FFFF when four bytes long. 
    overlong = 4, 
    /// The codepoint must be <= U+10FFFF. 
    tooLarge = 5, 
    /// The codepoint must not be in the range U+D800..U+DFFF. 
    surrogate = 6, 
    /// Ran out of bytes while decoding a codepoint. 
    eof = 7
}

Documentation

A Resulterror enum.

ON THIS PAGE