Package com.appliedrec.verid.core2
Class VerIDImageAdapter
- java.lang.Object
-
- com.appliedrec.verid.core2.VerIDImageAdapter
-
- All Implemented Interfaces:
CborCoder<Image>
,CborDecoder<Image>
,CborEncoder<Image>
public class VerIDImageAdapter extends java.lang.Object implements CborCoder<Image>
-
-
Constructor Summary
Constructors Constructor Description VerIDImageAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
decodeFromCbor(com.fasterxml.jackson.dataformat.cbor.CBORParser parser)
void
encodeToCbor(Image src, com.fasterxml.jackson.dataformat.cbor.CBORGenerator cborGenerator)
-
-
-
Method Detail
-
decodeFromCbor
public Image decodeFromCbor(com.fasterxml.jackson.dataformat.cbor.CBORParser parser) throws java.lang.Exception
- Specified by:
decodeFromCbor
in interfaceCborDecoder<Image>
- Throws:
java.lang.Exception
-
encodeToCbor
public void encodeToCbor(Image src, com.fasterxml.jackson.dataformat.cbor.CBORGenerator cborGenerator) throws java.lang.Exception
- Specified by:
encodeToCbor
in interfaceCborEncoder<Image>
- Throws:
java.lang.Exception
-
-