Decodes UTF8String.

Returns an error if the contents contains octets that are not a valid UTF-8 sequence.

no subtypes hierarchy

UTF8StringDecoder(Tag tag = ...)
  • tag = UniversalTag.utf8String
Inherited Attributes
Attributes inherited from: Decoder<Asn1Type>
Attributes inherited from: Object
hash, string
decodeContentsshared actual UTF8String|DecodingError decodeContents(Byte[] contents, IdentityInfo identityInfo, Integer lengthOctetsOffset, Integer contentsOctetsOffset)

Decode and return only the contents. But to return a good DecodingError, otherwise useless offset info must be passed.

Inherited Methods
Methods inherited from: Decoder<Asn1Type>
Methods inherited from: Object
Methods inherited from: StdDecoder<Asn1Type>