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 DnsEncodingError

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module juptune.dns.encoding;

enum DnsEncodingError : int
{
    ///
    none = 0, 
    /// A label (segment of a domain name) was too long. 
    labelTooLong = 1, 
    /// The domain name was too long in total. 
    domainNameTooLong = 2, 
    /// A label (segment of a domain name) was invalid for some reason. 
    invalidLabel = 3, 
    /// When encoding into a buffer, the end of the buffer was reached before finishing the encoding. 
    bufferTooSmall = 4, 
    /// When decoding, the end of the buffer was reached prematurely. 
    eof = 5, 
    /// When decoding, there were bytes left in the buffer that weren't used. 
    trailingData = 6
}

Documentation

A Resulterror enum

ON THIS PAGE