* Initialize a new encoder which writes the binary encoded data to an
* {@link OutputStream}.
*/
public CborEncoder(OutputStream outputStream) {
Objects.requireNonNull(outputStream);
unsignedIntegerEncoder = new UnsignedIntegerEncoder(this, outputStream);
negativeIntegerEncoder = new NegativeIntegerEncoder(this, outputStream);
byteStringEncoder = new ByteStringEncoder(this, outputStream);
unicodeStringEncoder = new UnicodeStringEncoder(this, outputStream);
arrayEncoder = new ArrayEncoder(this, outputStream);
mapEncoder = new MapEncoder(this, outputStream);