struct

Beryl::Encoding::DistinguishedEncodingRules::Element

Inherits Struct < Value < Object

One element read from the input: its tag, its contents, and the whole encoding (tag, length and contents), which signatures and name comparisons need byte for byte.

Constructors

new(tag : Tag, content : Bytes, encoded : Bytes, offset : Int32)
Source

Instance methods

content
Source
content_offset

The offset of the first content byte from the start of the outermost input.

Source
encoded
Source
offset

The offset of the element from the start of the outermost input.

Source