ASN1Object.preEncoded constructor
Create an object that encapsulates a set of value bytes that are already encoded.
This is used in LDAP (for example) to encode a CHOICE type The supplied valBytes is the encoded value of the choice element
Implementation
ASN1Object.preEncoded(this.tag, Uint8List valBytes) {
_valueByteLength = valBytes.length;
_encodeHeader();
_encodedBytes!.setRange(
_valueStartPosition, _valueStartPosition + valBytes.length, valBytes);
}