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
-
Fields inherited from class co.nstant.in.cbor.encoder.AbstractEncoder
encoder
-
-
Constructor Summary
Constructors Constructor Description NegativeIntegerEncoder(CborEncoder encoder, OutputStream outputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(NegativeInteger dataItem)-
Methods inherited from class co.nstant.in.cbor.encoder.AbstractEncoder
encodeTypeAndLength, encodeTypeAndLength, encodeTypeChunked, write, write
-
-
-
-
Constructor Detail
-
NegativeIntegerEncoder
public NegativeIntegerEncoder(CborEncoder encoder, OutputStream outputStream)
-
-
Method Detail
-
encode
public void encode(NegativeInteger dataItem) throws CborException
- Specified by:
encodein classAbstractEncoder<NegativeInteger>- Throws:
CborException
-
-