BasicEncodingRulesElement.this

Creates a BERElement from the supplied bytes, inferring that the first byte is the type tag. Unlike the construct that accepts a ubyte[] reference, this constructor does not "chomp" the array. This constructor expects the encoded bytes to encode only one $(BERElement). If there are any remaining bytes after decoding, an exception is thrown.

Throws

All of the same exceptions as fromBytes(), but also throws an ASN1LengthException if there are excess bytes.

Meta