protected long |
CborDecoder.expectIntegerType(int ib) |
Reads the next major type from the underlying input stream, and verifies whether it matches the given
expectation.
|
long |
CborDecoder.readArrayLength() |
Prolog to reading an array value in CBOR format.
|
java.math.BigInteger |
CborDecoder.readBigInt() |
|
java.math.BigInteger[] |
CborDecoder.readBigInts() |
|
boolean |
CborDecoder.readBoolean() |
Reads a boolean value in CBOR format.
|
java.lang.Boolean |
CborDecoder.readBooleanObj() |
|
void |
CborDecoder.readBreak() |
Reads a "break"/stop value in CBOR format.
|
byte[] |
CborDecoder.readByteString() |
Reads a byte string value in CBOR format.
|
long |
CborDecoder.readByteStringLength() |
Prolog to reading a byte string value in CBOR format.
|
byte[][] |
CborDecoder.readByteStrings() |
|
double |
CborDecoder.readDouble() |
Reads a double-precision float value in CBOR format.
|
float |
CborDecoder.readFloat() |
Reads a single-precision float value in CBOR format.
|
double |
CborDecoder.readHalfPrecisionFloat() |
Reads a half-precision float value in CBOR format.
|
java.time.Instant |
CborDecoder.readInstant() |
|
int |
CborDecoder.readInt() |
|
int |
CborDecoder.readInt16() |
Reads a signed or unsigned 16-bit integer value in CBOR format.
|
long |
CborDecoder.readInt32() |
Reads a signed or unsigned 32-bit integer value in CBOR format.
|
long |
CborDecoder.readInt64() |
Reads a signed or unsigned 64-bit integer value in CBOR format.
|
int |
CborDecoder.readInt8() |
Reads a signed or unsigned 8-bit integer value in CBOR format.
|
java.util.List<java.lang.Integer> |
CborDecoder.readIntList() |
|
java.lang.Integer |
CborDecoder.readIntObj() |
|
int[] |
CborDecoder.readInts() |
|
long |
CborDecoder.readLong() |
Reads a signed or unsigned integer value in CBOR format.
|
java.util.List<java.lang.Long> |
CborDecoder.readLongList() |
|
java.lang.Long |
CborDecoder.readLongObj() |
|
long[] |
CborDecoder.readLongs() |
|
protected int |
CborDecoder.readMajorType(int majorType) |
Reads the next major type from the underlying input stream, and verifies whether it matches the given expectation.
|
protected void |
CborDecoder.readMajorTypeExact(int majorType,
int subtype) |
Reads the next major type from the underlying input stream, and verifies whether it matches the given
expectations.
|
protected long |
CborDecoder.readMajorTypeWithSize(int majorType) |
Reads the next major type from the underlying input stream, verifies whether it matches the given expectation,
and decodes the payload into a size.
|
long |
CborDecoder.readMapLength() |
Prolog to reading a map of key-value pairs in CBOR format.
|
void |
CborDecoder.readNull() |
Reads a null-value in CBOR format.
|
java.lang.Integer |
CborDecoder.readNullOrArrayLength() |
|
boolean |
CborDecoder.readNullOrArrayLength(int expectedLen) |
true if it is null, or false it is an array of the specified length.
|
java.lang.Integer |
CborDecoder.readNullOrArrayLength(java.lang.Class clazz) |
|
java.lang.Integer |
CborDecoder.readNullOrMapLength() |
|
byte |
CborDecoder.readSimpleValue() |
Reads a single byte value in CBOR format.
|
int |
CborDecoder.readSmallInt() |
Reads a signed or unsigned small (<= 23) integer value in CBOR format.
|
long |
CborDecoder.readTag() |
Reads a semantic tag value in CBOR format.
|
java.lang.Long |
CborDecoder.readTagObj() |
|
java.lang.String |
CborDecoder.readTextString() |
Reads an UTF-8 encoded string value in CBOR format.
|
long |
CborDecoder.readTextStringLength() |
Prolog to reading an UTF-8 encoded string value in CBOR format.
|
java.lang.String[] |
CborDecoder.readTextStrings() |
|
protected long |
CborDecoder.readUInt(int length,
boolean breakAllowed) |
Reads an unsigned integer with a given length-indicator.
|
protected long |
CborDecoder.readUIntExact(int expectedLength,
int length) |
Reads an unsigned integer with a given length-indicator.
|
void |
CborDecoder.readUndefined() |
Reads an undefined value in CBOR format.
|