asn1 ~master (2019-04-27T14:06:40Z)
Home
Dub
Repo
BasicAlignedPackedEncodingRulesElement.fromBytes
asn1
codecs
baper
BasicAlignedPackedEncodingRulesElement
class
BasicAlignedPackedEncodingRulesElement
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
baper
BasicAlignedPackedEncodingRulesElement
constructors
this
functions
fromBytes
opCast
properties
basicMultilingualPlaneString
bitStream
bitString
bitsNeededToEncodeNumber
boolean
characterString
constrained
coordinatedUniversalTime
embeddedPresentationDataValue
endOfContent
enumerated
external
generalString
generalizedTime
graphicString
integer
internationalAlphabetNumber5String
nill
numericString
objectDescriptor
objectIdentifier
octetString
printableString
range
realNumber
relativeObjectIdentifier
semiConstrained
sequence
set
teletexString
toBytes
unconstrained
unicodeTransformationFormat8String
universalString
videotexString
visibleString
variables
maximum
minimum