Package co.nstant.in.cbor.encoder
Class NegativeIntegerEncoder
java.lang.Object
co.nstant.in.cbor.encoder.AbstractEncoder<NegativeInteger>
co.nstant.in.cbor.encoder.NegativeIntegerEncoder
public class NegativeIntegerEncoder extends AbstractEncoder<NegativeInteger>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description NegativeIntegerEncoder(CborEncoder encoder, OutputStream outputStream)
-
Method Summary
Modifier and Type Method Description void
encode(NegativeInteger dataItem)
Methods inherited from class co.nstant.in.cbor.encoder.AbstractEncoder
encodeTypeAndLength, encodeTypeAndLength, encodeTypeChunked, write, write
-
Constructor Details
-
Method Details
-
encode
- Specified by:
encode
in classAbstractEncoder<NegativeInteger>
- Throws:
CborException
-