asn1 ~master (2019-04-27T14:06:40Z)
Home
Dub
Repo
BasicEncodingRulesElement.fromBytes
asn1
codecs
ber
BasicEncodingRulesElement
class
BasicEncodingRulesElement
size_t
fromBytes
(
in
ubyte
[]
bytes
)
Return Value
Type:
size_t
the number of bytes read
Throws
ASN1TagPaddingException
if the tag number is "padded" with "leading zero bytes" (
0x80u
)
ASN1TagOverflowException
if the tag number is too large to fit into a
size_t
ASN1LengthUndefinedException
if the reserved length byte of
0xFF
is encountered
ASN1LengthOverflowException
if the length is too large to fit into a
size_t
ASN1TruncationException
if the tag, length, or value appear to be truncated
ASN1ConstructionException
if the length is indefinite, but the element is marked as being encoded primitively
ASN1RecursionException
if, when trying to determine the end of an indefinite-length encoded element, the parser has to recurse too deep
Meta
Source
See Implementation
asn1
codecs
ber
BasicEncodingRulesElement
constructors
this
functions
fromBytes
opCast
properties
basicMultilingualPlaneString
bitString
boolean
characterString
coordinatedUniversalTime
embeddedPresentationDataValue
endOfContent
enumerated
external
generalString
generalizedTime
graphicString
integer
internationalAlphabetNumber5String
nill
numericString
objectDescriptor
objectIdentifier
octetString
printableString
realNumber
relativeObjectIdentifier
sequence
set
teletexString
toBytes
unicodeTransformationFormat8String
universalString
videotexString
visibleString
static variables
lengthEncodingPreference