ASN1::BER::Length
Inherits BinData < Reference < Object
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
Constants
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
Class methods
The length octets of a BER element: short form, long form, or the indefinite
marker. The decoded byte count is exposed as #length.
Instance methods
A group or bit_field captures the endianness at its declaration point, so
declaring endian after one would silently leave it system-endian. Fail loudly.
We can pretty much safely assume no protocol is implementing more than positive Int32 length datagrams
We can pretty much safely assume no protocol is implementing more than positive Int32 length datagrams
Reads the fields of this instance from io, in declaration order, and
returns io. Raises BinData::ParseError (or BinData::VerificationException)
on malformed input.
Writes the fields of this instance to io in declaration order. Raises
BinData::WriteError (or BinData::VerificationException) on failure.