-
Methods in com.upokecenter.cbor with parameters of type CBORTypeMapper
| Modifier and Type |
Method |
Description |
static <T> T |
CBORObject.DecodeObjectFromBytes(byte[] data,
CBOREncodeOptions enc,
java.lang.reflect.Type t,
CBORTypeMapper mapper,
PODOptions pod) |
Generates an object of an arbitrary type from an array of CBOR-encoded
bytes, using the given CBOREncodeOptions object to control
the decoding process.
|
static <T> T |
CBORObject.DecodeObjectFromBytes(byte[] data,
java.lang.reflect.Type t,
CBORTypeMapper mapper,
PODOptions pod) |
Generates an object of an arbitrary type from an array of CBOR-encoded
bytes.
|
static CBORObject |
CBORObject.FromObject(java.lang.Object obj,
CBORTypeMapper mapper) |
Generates a CBORObject from an arbitrary object.
|
static CBORObject |
CBORObject.FromObject(java.lang.Object obj,
CBORTypeMapper mapper,
PODOptions options) |
Generates a CBORObject from an arbitrary object, using the given options
to control how certain objects are converted to CBOR objects.
|
<T> T |
CBORObject.ToObject(java.lang.reflect.Type t,
CBORTypeMapper mapper) |
Converts this CBOR object to an object of an arbitrary type.
|
<T> T |
CBORObject.ToObject(java.lang.reflect.Type t,
CBORTypeMapper mapper,
PODOptions options) |
Converts this CBOR object to an object of an arbitrary type.
|