CBORObject |
CBORObject.Abs() |
Deprecated.
|
CBORObject |
CBORObject.Add(CBORObject obj) |
Adds a new object to the end of this array.
|
CBORObject |
CBORObject.Add(java.lang.Object obj) |
Converts an object to a CBOR object and adds it to the end of this
array.
|
CBORObject |
CBORObject.Add(java.lang.Object key,
java.lang.Object valueOb) |
Adds a new key and its value to this CBOR map, or adds the value if the
key doesn't exist.
|
static CBORObject |
CBORObject.Addition(CBORObject first,
CBORObject second) |
Deprecated.
|
CBORObject |
CBORObject.ApplyJSONPatch(CBORObject patch) |
Returns a copy of this object after applying the operations in a JSON patch,
in the form of a CBOR object.
|
CBORObject |
CBORObject.AtJSONPointer(java.lang.String pointer) |
Gets the CBOR object referred to by a JSON Pointer according to RFC6901.
|
CBORObject |
CBORObject.AtJSONPointer(java.lang.String pointer,
CBORObject defaultValue) |
Gets the CBOR object referred to by a JSON Pointer according to RFC6901, or
a default value if the operation fails.
|
CBORObject |
CBORDateConverter.DateTimeFieldsToCBORObject(int year,
int[] lesserFields) |
Converts a date/time in the form of a year, month, day, hour, minute,
second, fractional seconds, and time offset to a CBOR object.
|
CBORObject |
CBORDateConverter.DateTimeFieldsToCBORObject(int smallYear,
int month,
int day) |
Converts a date/time in the form of a year, month, and day to a CBOR object.
|
CBORObject |
CBORDateConverter.DateTimeFieldsToCBORObject(int smallYear,
int month,
int day,
int hour,
int minute,
int second) |
Converts a date/time in the form of a year, month, day, hour, minute, and
second to a CBOR object.
|
CBORObject |
CBORDateConverter.DateTimeFieldsToCBORObject(com.upokecenter.numbers.EInteger bigYear,
int[] lesserFields) |
Converts a date/time in the form of a year, month, day, hour, minute,
second, fractional seconds, and time offset to a CBOR object.
|
static CBORObject |
CBORObject.DecodeFromBytes(byte[] data) |
Generates a CBOR object from an array of CBOR-encoded bytes.
|
static CBORObject |
CBORObject.DecodeFromBytes(byte[] data,
CBOREncodeOptions options) |
Generates a CBOR object from an array of CBOR-encoded bytes, using the given
CBOREncodeOptions object to control the decoding process.
|
static CBORObject[] |
CBORObject.DecodeSequenceFromBytes(byte[] data) |
Generates a sequence of CBOR objects from an array of CBOR-encoded
bytes.
|
static CBORObject[] |
CBORObject.DecodeSequenceFromBytes(byte[] data,
CBOREncodeOptions options) |
Generates a sequence of CBOR objects from an array of CBOR-encoded
bytes.
|
static CBORObject |
CBORObject.Divide(CBORObject first,
CBORObject second) |
Deprecated.
|
static CBORObject |
CBORObject.FromFloatingPointBits(long floatingBits,
int byteCount) |
Generates a CBOR object from a floating-point number represented by its
bits.
|
static CBORObject |
CBORObject.FromJSONBytes(byte[] bytes) |
Generates a CBOR object from a byte array in JavaScript object Notation
(JSON) format.
|
static CBORObject |
CBORObject.FromJSONBytes(byte[] bytes,
int offset,
int count) |
Generates a CBOR object from a byte array in JavaScript object Notation
(JSON) format.
|
static CBORObject |
CBORObject.FromJSONBytes(byte[] bytes,
int offset,
int count,
JSONOptions jsonoptions) |
Generates a CBOR object from a byte array in JavaScript object Notation
(JSON) format, using the specified options to control the decoding
process.
|
static CBORObject |
CBORObject.FromJSONBytes(byte[] bytes,
JSONOptions jsonoptions) |
Generates a CBOR object from a byte array in JavaScript object Notation
(JSON) format, using the specified options to control the decoding
process.
|
static CBORObject[] |
CBORObject.FromJSONSequenceBytes(byte[] bytes) |
Generates a list of CBOR objects from an array of bytes in JavaScript object
Notation (JSON) text sequence format (RFC 7464).
|
static CBORObject[] |
CBORObject.FromJSONSequenceBytes(byte[] data,
JSONOptions options) |
Generates a list of CBOR objects from an array of bytes in JavaScript object
Notation (JSON) text sequence format (RFC 7464), using the specified
options to control the decoding process.
|
static CBORObject |
CBORObject.FromJSONString(java.lang.String str) |
Generates a CBOR object from a text string in JavaScript object Notation
(JSON) format.
|
static CBORObject |
CBORObject.FromJSONString(java.lang.String str,
int offset,
int count) |
Generates a CBOR object from a text string in JavaScript object Notation
(JSON) format.
|
static CBORObject |
CBORObject.FromJSONString(java.lang.String str,
int offset,
int count,
JSONOptions jsonoptions) |
Generates a CBOR object from a text string in JavaScript object Notation
(JSON) format, using the specified options to control the decoding
process.
|
static CBORObject |
CBORObject.FromJSONString(java.lang.String str,
CBOREncodeOptions options) |
Deprecated.
|
static CBORObject |
CBORObject.FromJSONString(java.lang.String str,
JSONOptions jsonoptions) |
Generates a CBOR object from a text string in JavaScript object Notation
(JSON) format, using the specified options to control the decoding
process.
|
static CBORObject |
CBORObject.FromObject(boolean value) |
Returns the CBOR true value or false value, depending on "value".
|
static CBORObject |
CBORObject.FromObject(byte value) |
Generates a CBOR object from a byte (0 to 255).
|
static CBORObject |
CBORObject.FromObject(byte[] bytes) |
Generates a CBOR object from an array of 8-bit bytes; the byte array is
copied to a new byte array in this process.
|
static CBORObject |
CBORObject.FromObject(double value) |
Generates a CBOR object from a 64-bit floating-point number.
|
static CBORObject |
CBORObject.FromObject(float value) |
Generates a CBOR object from a 32-bit floating-point number.
|
static CBORObject |
CBORObject.FromObject(int value) |
Generates a CBOR object from a 32-bit signed integer.
|
static CBORObject |
CBORObject.FromObject(int[] array) |
Generates a CBOR object from an array of 32-bit integers.
|
static CBORObject |
CBORObject.FromObject(long value) |
Generates a CBOR object from a 64-bit signed integer.
|
static CBORObject |
CBORObject.FromObject(long[] array) |
Generates a CBOR object from an array of 64-bit integers.
|
static CBORObject |
CBORObject.FromObject(short value) |
Generates a CBOR object from a 16-bit signed integer.
|
static CBORObject |
CBORObject.FromObject(CBORObject value) |
Generates a CBOR object from a CBOR object.
|
static CBORObject |
CBORObject.FromObject(CBORObject[] array) |
Generates a CBOR object from an array of CBOR objects.
|
static CBORObject |
CBORObject.FromObject(com.upokecenter.numbers.EDecimal bigValue) |
Generates a CBOR object from a decimal number.
|
static CBORObject |
CBORObject.FromObject(com.upokecenter.numbers.EFloat bigValue) |
Generates a CBOR object from an arbitrary-precision binary floating-point
number.
|
static CBORObject |
CBORObject.FromObject(com.upokecenter.numbers.EInteger bigintValue) |
Generates a CBOR object from an arbitrary-precision integer.
|
static CBORObject |
CBORObject.FromObject(com.upokecenter.numbers.ERational bigValue) |
Generates a CBOR object from an arbitrary-precision rational number.
|
static CBORObject |
CBORObject.FromObject(java.lang.Object obj) |
Generates a CBORObject from an arbitrary object.
|
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.
|
static CBORObject |
CBORObject.FromObject(java.lang.Object obj,
PODOptions options) |
Generates a CBORObject from an arbitrary object.
|
static CBORObject |
CBORObject.FromObject(java.lang.String strValue) |
Generates a CBOR object from a text string.
|
static CBORObject |
CBORObject.FromObjectAndTag(java.lang.Object valueObValue,
int smallTag) |
Generates a CBOR object from an arbitrary object and gives the resulting
object a tag in addition to its existing tags (the new tag is made
the outermost tag).
|
static CBORObject |
CBORObject.FromObjectAndTag(java.lang.Object valueOb,
com.upokecenter.numbers.EInteger bigintTag) |
Generates a CBOR object from an arbitrary object and gives the resulting
object a tag in addition to its existing tags (the new tag is made
the outermost tag).
|
static CBORObject |
CBORObject.FromSimpleValue(int simpleValue) |
Creates a CBOR object from a simple value number.
|
CBORObject |
CBORObject.get(int index) |
Gets the value of a CBOR object by integer index in this array or by integer
key in this map.
|
CBORObject |
CBORObject.get(CBORObject key) |
Gets the value of a CBOR object by integer index in this array or by CBOR
object key in this map.
|
CBORObject |
CBORObject.get(java.lang.String key) |
Gets the value of a CBOR object in this map, using a string as the key.
|
CBORObject |
CBORObject.GetOrDefault(java.lang.Object key,
CBORObject defaultValue) |
Gets the value of a CBOR object by integer index in this array or by CBOR
object key in this map, or a default value if that value is not
found.
|
CBORObject |
CBORObject.Insert(int index,
java.lang.Object valueOb) |
Inserts an object at the specified position in this CBOR array.
|
static CBORObject |
CBORObject.Multiply(CBORObject first,
CBORObject second) |
Deprecated.
|
CBORObject |
CBORObject.Negate() |
Deprecated.
|
static CBORObject |
CBORObject.NewArray() |
Creates a new empty CBOR array.
|
static CBORObject |
CBORObject.NewMap() |
Creates a new empty CBOR map that stores its keys in an undefined order.
|
static CBORObject |
CBORObject.NewOrderedMap() |
Creates a new empty CBOR map that ensures that keys are stored in the order
in which they are first inserted.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(byte[] bytes) |
Parses a number from a byte sequence whose format follows the JSON
specification.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(byte[] bytes,
int offset,
int count) |
Parses a number whose format follows the JSON specification (RFC 8259) from
a portion of a byte sequence, and converts that number to a CBOR
object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(byte[] bytes,
int offset,
int count,
JSONOptions options) |
Parses a number from a byte sequence whose format follows the JSON
specification (RFC 8259) and converts that number to a CBOR
object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(byte[] bytes,
JSONOptions options) |
Parses a number from a byte sequence whose format follows the JSON
specification (RFC 8259) and converts that number to a CBOR
object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(char[] chars) |
Parses a number from a sequence of char s whose format follows the
JSON specification.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(char[] chars,
int offset,
int count) |
Parses a number whose format follows the JSON specification (RFC 8259) from
a portion of a sequence of char s, and converts that number
to a CBOR object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(char[] chars,
int offset,
int count,
JSONOptions options) |
Parses a number from a sequence of char s whose format follows the
JSON specification (RFC 8259) and converts that number to a CBOR
object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(char[] chars,
JSONOptions options) |
Parses a number from a sequence of char s whose format follows the
JSON specification (RFC 8259) and converts that number to a CBOR
object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(java.lang.String str) |
Parses a number whose format follows the JSON specification.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(java.lang.String str,
boolean integersOnly,
boolean positiveOnly) |
Deprecated.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(java.lang.String str,
boolean integersOnly,
boolean positiveOnly,
boolean preserveNegativeZero) |
Deprecated.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(java.lang.String str,
int offset,
int count) |
Parses a number whose format follows the JSON specification (RFC 8259) from
a portion of a text string, and converts that number to a CBOR
object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(java.lang.String str,
int offset,
int count,
JSONOptions options) |
Parses a number whose format follows the JSON specification (RFC 8259) and
converts that number to a CBOR object.
|
static CBORObject |
CBORDataUtilities.ParseJSONNumber(java.lang.String str,
JSONOptions options) |
Parses a number whose format follows the JSON specification (RFC 8259) and
converts that number to a CBOR object.
|
static CBORObject |
CBORObject.Read(java.io.InputStream stream) |
Reads an object in CBOR format from a data stream.
|
static CBORObject |
CBORObject.Read(java.io.InputStream stream,
CBOREncodeOptions options) |
Reads an object in CBOR format from a data stream, using the specified
options to control the decoding process.
|
static CBORObject |
CBORObject.ReadJSON(java.io.InputStream stream) |
Generates a CBOR object from a data stream in JavaScript object Notation
(JSON) format.
|
static CBORObject |
CBORObject.ReadJSON(java.io.InputStream stream,
CBOREncodeOptions options) |
Deprecated.
|
static CBORObject |
CBORObject.ReadJSON(java.io.InputStream stream,
JSONOptions jsonoptions) |
Generates a CBOR object from a data stream in JavaScript object Notation
(JSON) format, using the specified options to control the decoding
process.
|
static CBORObject[] |
CBORObject.ReadJSONSequence(java.io.InputStream stream) |
Generates a list of CBOR objects from a data stream in JavaScript object
Notation (JSON) text sequence format (RFC 7464).
|
static CBORObject[] |
CBORObject.ReadJSONSequence(java.io.InputStream stream,
JSONOptions jsonoptions) |
Generates a list of CBOR objects from a data stream in JavaScript object
Notation (JSON) text sequence format (RFC 7464).
|
static CBORObject[] |
CBORObject.ReadSequence(java.io.InputStream stream) |
Reads a sequence of objects in CBOR format from a data stream.
|
static CBORObject[] |
CBORObject.ReadSequence(java.io.InputStream stream,
CBOREncodeOptions options) |
Reads a sequence of objects in CBOR format from a data stream.
|
static CBORObject |
CBORObject.Remainder(CBORObject first,
CBORObject second) |
Deprecated.
|
CBORObject |
CBORObject.Set(java.lang.Object key,
java.lang.Object valueOb) |
Maps an object to a key in this CBOR map, or adds the value if the key
doesn't exist.
|
static CBORObject |
CBORObject.Subtract(CBORObject first,
CBORObject second) |
Deprecated.
|
CBORObject |
CBORDateConverter.ToCBORObject(java.util.Date obj) |
Converts a java.util.Date (in DotNet) or Date (in Java) to a CBOR object in a
manner specified by this converter's conversion type.
|
CBORObject |
CBORNumber.ToCBORObject() |
Converts this object's value to a CBOR object.
|
CBORObject |
ICBORConverter.ToCBORObject(T obj) |
Converts an object to a CBOR object.
|
CBORObject |
CBORObject.Untag() |
Gets an object with the same value as this one but without the tags it has,
if any.
|
CBORObject |
CBORObject.UntagOne() |
Gets an object with the same value as this one but without this object's
outermost tag, if any.
|
CBORObject |
CBORObject.WithTag(int smallTag) |
Generates a CBOR object from an arbitrary object and gives the resulting
object a tag in addition to its existing tags (the new tag is made
the outermost tag).
|
CBORObject |
CBORObject.WithTag(com.upokecenter.numbers.EInteger bigintTag) |
Generates a CBOR object from this one, but gives the resulting object a tag
in addition to its existing tags (the new tag is made the outermost
tag).
|