ASN1Boolean.fromBytes constructor

ASN1Boolean.fromBytes(
  1. Uint8List encodedBytes
)

Creates an ASN1Boolean entity from the given encodedBytes.

Implementation

ASN1Boolean.fromBytes(Uint8List super.encodedBytes) : super.fromBytes() {
  boolValue = (valueBytes![0] == BOOLEAN_TRUE_VALUE);
}