An encoding descriptor is something which can be used with binary input or output streams to encode or decode bytes stored in a certain representation. It must conform to the Encoding protocol. Encodings which you can use are defined in the following vocabularies: Binary encoding UTF-8 encoding