Decodes UTF8String.

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

no subtypes hierarchy

Initializer
UTF8StringDecoder(Tag tag = ...)
Parameters:
  • tag = UniversalTag.utf8String
Inherited Attributes
Attributes inherited from: Decoder<Asn1Type>
Attributes inherited from: Object
hash, string
Methods
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
equals
Methods inherited from: StdDecoder<Asn1Type>