ASN1Sequence.fromBytes constructor
ASN1Sequence.fromBytes(
- Uint8List bytes
Create a sequence fromt the byte array super.bytes
.
Note that bytes array b could be longer than the actual encoded sequence - in which case we ignore any remaining bytes.
Implementation
ASN1Sequence.fromBytes(super.bytes) : super.fromBytes() {
if (isUniversal(tag) && !isSequence(tag)) {
throw ASN1Exception('The tag $tag does not look like a sequence type');
}
_decodeSeq();
}