contentBytes method

  1. @override
Uint8List contentBytes()
override

Returns the real content of a tag. This might be equal to valueBytes for some tags.

some other tags like BitString include padding in their valueBytes. This method always returns the unpadded contentBytes.

Implementation

@override
Uint8List contentBytes() => Uint8List.fromList(stringValue);