B C D E F G H I M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BREAK - Static variable in interface ej.cbor.CborConstants
-
The CBOR-encoded "break" stop code for unlimited arrays/maps.
C
- CborConstants - Interface in ej.cbor
-
Constant values used by the CBOR format.
- CborDecoder - Class in ej.cbor
-
Provides a decoder capable of handling CBOR encoded data from a
InputStream. - CborDecoder(InputStream) - Constructor for class ej.cbor.CborDecoder
-
Creates a new
CborDecoderinstance. - CborEncoder - Class in ej.cbor
-
Provides an encoder capable of encoding data into CBOR format to a given
OutputStream. - CborEncoder(OutputStream) - Constructor for class ej.cbor.CborEncoder
-
Creates a new
CborEncoderinstance. - CborType - Class in ej.cbor
-
Represents the various major types in CBOR, along with their .
D
- DOUBLE_PRECISION_FLOAT - Static variable in interface ej.cbor.CborConstants
-
Denotes a double-precision float (eight-byte IEEE 754, see #MT_FLOAT).
E
- EIGHT_BYTES - Static variable in interface ej.cbor.CborConstants
-
Denotes a eight-byte value (uint64).
- EIGHT_BYTES - Static variable in class ej.cbor.ErrorMessage
- ej.cbor - package ej.cbor
- equals(Object) - Method in class ej.cbor.CborType
- ErrorMessage - Class in ej.cbor
- ErrorMessage() - Constructor for class ej.cbor.ErrorMessage
- expectIntegerType(int) - Method in class ej.cbor.CborDecoder
-
Reads the next major type from the underlying input stream, and verifies whether it matches the given expectation.
F
- FALSE - Static variable in interface ej.cbor.CborConstants
-
The CBOR-encoded boolean
falsevalue (encoded as "simple value": #MT_SIMPLE). - FOUR_BYTES - Static variable in interface ej.cbor.CborConstants
-
Denotes a four-byte value (uint32).
- FOUR_BYTES - Static variable in class ej.cbor.ErrorMessage
G
- getAdditionalInfo() - Method in class ej.cbor.CborType
- getDefault() - Static method in class ej.cbor.ErrorMessage
-
Gets the default instance of
ErrorMessage. - getMajorType() - Method in class ej.cbor.CborType
- getName(int) - Static method in class ej.cbor.CborType
-
Returns a descriptive string for the given major type.
H
- HALF_PRECISION_FLOAT - Static variable in interface ej.cbor.CborConstants
-
Denotes a half-precision float (two-byte IEEE 754, see #MT_FLOAT).
- hashCode() - Method in class ej.cbor.CborType
I
- INFINITE_LENGHT_TEXT_STRING_NOT_SUPPORTED - Static variable in class ej.cbor.ErrorMessage
- INFINITE_LENGTH_BYTE_STRING_NOT_SUPPORTED - Static variable in class ej.cbor.ErrorMessage
- INVALID_ARRAY_LENGHT - Static variable in class ej.cbor.ErrorMessage
- INVALID_MAJOR_TYPE - Static variable in class ej.cbor.ErrorMessage
- INVALID_MAP_LENGHT - Static variable in class ej.cbor.ErrorMessage
- isBreakAllowed() - Method in class ej.cbor.CborType
- isEqualType(int) - Method in class ej.cbor.CborType
- isEqualType(CborType) - Method in class ej.cbor.CborType
M
- messageAt(int, Object...) - Method in class ej.cbor.ErrorMessage
-
Generates
Stringfor a specified error code.
N
- NO_PAYLOAD - Static variable in class ej.cbor.ErrorMessage
- NOT_WELL_FORMED_CBOR_INTEGER - Static variable in class ej.cbor.ErrorMessage
- NULL - Static variable in interface ej.cbor.CborConstants
-
The CBOR-encoded
nullvalue (encoded as "simple value": #MT_SIMPLE).
O
- ONE_BYTE - Static variable in interface ej.cbor.CborConstants
-
Denotes a one-byte value (uint8).
- ONE_BYTE - Static variable in class ej.cbor.ErrorMessage
P
- peekType() - Method in class ej.cbor.CborDecoder
-
Peeks in the input stream for the upcoming type.
R
- readArrayLength() - Method in class ej.cbor.CborDecoder
-
Prolog to reading an array value in CBOR format.
- readBoolean() - Method in class ej.cbor.CborDecoder
-
Reads a boolean value in CBOR format.
- readBreak() - Method in class ej.cbor.CborDecoder
-
Reads a "break"/stop value in CBOR format.
- readByteString() - Method in class ej.cbor.CborDecoder
-
Reads a byte string value in CBOR format.
- readByteStringLength() - Method in class ej.cbor.CborDecoder
-
Prolog to reading a byte string value in CBOR format.
- readDouble() - Method in class ej.cbor.CborDecoder
-
Reads a double-precision float value in CBOR format.
- readFloat() - Method in class ej.cbor.CborDecoder
-
Reads a single-precision float value in CBOR format.
- readHalfPrecisionFloat() - Method in class ej.cbor.CborDecoder
-
Reads a half-precision float value in CBOR format.
- readInt() - Method in class ej.cbor.CborDecoder
-
Reads a signed or unsigned integer value in CBOR format.
- readInt16() - Method in class ej.cbor.CborDecoder
-
Reads a signed or unsigned 16-bit integer value in CBOR format.
- readInt32() - Method in class ej.cbor.CborDecoder
-
Reads a signed or unsigned 32-bit integer value in CBOR format.
- readInt64() - Method in class ej.cbor.CborDecoder
-
Reads a signed or unsigned 64-bit integer value in CBOR format.
- readInt8() - Method in class ej.cbor.CborDecoder
-
Reads a signed or unsigned 8-bit integer value in CBOR format.
- readMajorType(int) - Method in class ej.cbor.CborDecoder
-
Reads the next major type from the underlying input stream, and verifies whether it matches the given expectation.
- readMajorTypeExact(int, int) - Method in class ej.cbor.CborDecoder
-
Reads the next major type from the underlying input stream, and verifies whether it matches the given expectations.
- readMajorTypeWithSize(int) - Method in class ej.cbor.CborDecoder
-
Reads the next major type from the underlying input stream, verifies whether it matches the given expectation, and decodes the payload into a size.
- readMapLength() - Method in class ej.cbor.CborDecoder
-
Prolog to reading a map of key-value pairs in CBOR format.
- readNull() - Method in class ej.cbor.CborDecoder
-
Reads a
null-value in CBOR format. - readSimpleValue() - Method in class ej.cbor.CborDecoder
-
Reads a single byte value in CBOR format.
- readSmallInt() - Method in class ej.cbor.CborDecoder
-
Reads a signed or unsigned small (<= 23) integer value in CBOR format.
- readTag() - Method in class ej.cbor.CborDecoder
-
Reads a semantic tag value in CBOR format.
- readTextString() - Method in class ej.cbor.CborDecoder
-
Reads an UTF-8 encoded string value in CBOR format.
- readTextStringLength() - Method in class ej.cbor.CborDecoder
-
Prolog to reading an UTF-8 encoded string value in CBOR format.
- readUInt(int, boolean) - Method in class ej.cbor.CborDecoder
-
Reads an unsigned integer with a given length-indicator.
- readUInt16() - Method in class ej.cbor.CborDecoder
-
Reads an unsigned 16-bit integer value.
- readUInt32() - Method in class ej.cbor.CborDecoder
-
Reads an unsigned 32-bit integer value.
- readUInt64() - Method in class ej.cbor.CborDecoder
-
Reads an unsigned 64-bit integer value.
- readUInt8() - Method in class ej.cbor.CborDecoder
-
Reads an unsigned 8-bit integer value.
- readUIntExact(int, int) - Method in class ej.cbor.CborDecoder
-
Reads an unsigned integer with a given length-indicator.
- readUndefined() - Method in class ej.cbor.CborDecoder
-
Reads an undefined value in CBOR format.
S
- SINGLE_PRECISION_FLOAT - Static variable in interface ej.cbor.CborConstants
-
Denotes a single-precision float (four-byte IEEE 754, see #MT_FLOAT).
- STRING_LENGTH_TOO_LONG - Static variable in class ej.cbor.ErrorMessage
T
- TAG_BASE64_ENCODED - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a base64 encoded string (UTF8 string).
- TAG_BASE64_URL_ENCODED - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a base64url encoded string (UTF8 string).
- TAG_BIGDECIMAL - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a big decimal value (two-element array, base 2).
- TAG_CANNOT_BE_NEGATIVE - Static variable in class ej.cbor.ErrorMessage
- TAG_CBOR_ENCODED - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing an encoded CBOR data item (byte string).
- TAG_CBOR_MARKER - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing CBOR content.
- TAG_DECIMAL_FRACTION - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a decimal fraction value (two-element array, base 10).
- TAG_EPOCH_DATE_TIME - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).
- TAG_EXPECTED_BASE16_ENCODED - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing an expected conversion to base16 encoding.
- TAG_EXPECTED_BASE64_ENCODED - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing an expected conversion to base64 encoding.
- TAG_EXPECTED_BASE64_URL_ENCODED - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing an expected conversion to base64url encoding.
- TAG_MIME_MESSAGE - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a MIME message (UTF8 string, RFC2045).
- TAG_NEGATIVE_BIGINT - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a negative big integer value (byte string).
- TAG_POSITIVE_BIGINT - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a positive big integer value (byte string).
- TAG_REGEXP - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing a regular expression string (UTF8 string, PCRE).
- TAG_STANDARD_DATE_TIME - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).
- TAG_URI - Static variable in interface ej.cbor.CborConstants
-
Semantic tag value describing an URL (UTF8 string).
- toString() - Method in class ej.cbor.CborType
- TRUE - Static variable in interface ej.cbor.CborConstants
-
The CBOR-encoded boolean
truevalue (encoded as "simple value": #MT_SIMPLE). - TWO_BYTES - Static variable in interface ej.cbor.CborConstants
-
Denotes a two-byte value (uint16).
- TWO_BYTES - Static variable in class ej.cbor.ErrorMessage
- TYPE_ARRAY - Static variable in interface ej.cbor.CborConstants
-
Major type 4: array of items.
- TYPE_BYTE_STRING - Static variable in interface ej.cbor.CborConstants
-
Major type 2: byte string.
- TYPE_FLOAT_SIMPLE - Static variable in interface ej.cbor.CborConstants
-
Major type 7: floating point, simple data types.
- TYPE_MAP - Static variable in interface ej.cbor.CborConstants
-
Major type 5: map of pairs.
- TYPE_NEGATIVE_INTEGER - Static variable in interface ej.cbor.CborConstants
-
Major type 1: negative integers.
- TYPE_TAG - Static variable in interface ej.cbor.CborConstants
-
Major type 6: semantic tags.
- TYPE_TEXT_STRING - Static variable in interface ej.cbor.CborConstants
-
Major type 3: text/UTF8 string.
- TYPE_UNSIGNED_INTEGER - Static variable in interface ej.cbor.CborConstants
-
Major type 0: unsigned integers.
U
- UNDEFINED - Static variable in interface ej.cbor.CborConstants
-
The CBOR-encoded "undefined" value (encoded as "simple value": #MT_SIMPLE).
- UNEXPECTED_BOOLEAN_VALUE - Static variable in class ej.cbor.ErrorMessage
- UNEXPECTED_PAYLOAD_OR_LENGTH - Static variable in class ej.cbor.ErrorMessage
- UNEXPECTED_SUBTYPE - Static variable in class ej.cbor.ErrorMessage
- UNEXPECTED_TYPE - Static variable in class ej.cbor.ErrorMessage
- UNEXPECTED_TYPE_TWO_TYPES - Static variable in class ej.cbor.ErrorMessage
- UNKNOWN - Static variable in class ej.cbor.ErrorMessage
V
- valueOf(int) - Static method in class ej.cbor.CborType
-
Decodes a given byte value to a
CborTypevalue.
W
- writeArrayStart() - Method in class ej.cbor.CborEncoder
-
Writes the start of an indefinite-length array.
- writeArrayStart(int) - Method in class ej.cbor.CborEncoder
-
Writes the start of a definite-length array.
- writeBoolean(boolean) - Method in class ej.cbor.CborEncoder
-
Writes a boolean value in canonical CBOR format.
- writeBreak() - Method in class ej.cbor.CborEncoder
-
Writes a "break" stop-value in canonical CBOR format.
- writeByteString(byte[]) - Method in class ej.cbor.CborEncoder
-
Writes a byte string in canonical CBOR-format.
- writeByteStringStart() - Method in class ej.cbor.CborEncoder
-
Writes the start of an indefinite-length byte string.
- writeDouble(double) - Method in class ej.cbor.CborEncoder
-
Writes a double-precision float value in canonical CBOR format.
- writeFloat(float) - Method in class ej.cbor.CborEncoder
-
Writes a single-precision float value in canonical CBOR format.
- writeHalfPrecisionFloat(float) - Method in class ej.cbor.CborEncoder
-
Writes a half-precision float value in canonical CBOR format.
- writeInt(long) - Method in class ej.cbor.CborEncoder
-
Writes a signed or unsigned integer value in canonical CBOR format, that is, tries to encode it in a little bytes as possible.
- writeInt16(int) - Method in class ej.cbor.CborEncoder
-
Writes a signed or unsigned 16-bit integer value in CBOR format.
- writeInt32(long) - Method in class ej.cbor.CborEncoder
-
Writes a signed or unsigned 32-bit integer value in CBOR format.
- writeInt64(long) - Method in class ej.cbor.CborEncoder
-
Writes a signed or unsigned 64-bit integer value in CBOR format.
- writeInt8(int) - Method in class ej.cbor.CborEncoder
-
Writes a signed or unsigned 8-bit integer value in CBOR format.
- writeMapStart() - Method in class ej.cbor.CborEncoder
-
Writes the start of an indefinite-length map.
- writeMapStart(int) - Method in class ej.cbor.CborEncoder
-
Writes the start of a finite-length map.
- writeNull() - Method in class ej.cbor.CborEncoder
-
Writes a
nullvalue in canonical CBOR format. - writeSimpleType(int, int) - Method in class ej.cbor.CborEncoder
-
Encodes and writes the major type and value as a simple type.
- writeSimpleValue(byte) - Method in class ej.cbor.CborEncoder
-
Writes a simple value, i.e., an "atom" or "constant" value in canonical CBOR format.
- writeSmallInt(int) - Method in class ej.cbor.CborEncoder
-
Writes a signed or unsigned small (<= 23) integer value in CBOR format.
- writeString(int, byte[]) - Method in class ej.cbor.CborEncoder
-
Writes a byte string in canonical CBOR-format.
- writeTag(long) - Method in class ej.cbor.CborEncoder
-
Writes a semantic tag in canonical CBOR format.
- writeTextString(String) - Method in class ej.cbor.CborEncoder
-
Writes an UTF-8 string in canonical CBOR-format.
- writeTextStringStart() - Method in class ej.cbor.CborEncoder
-
Writes the start of an indefinite-length UTF-8 string.
- writeType(int, long) - Method in class ej.cbor.CborEncoder
-
Encodes and writes the major type indicator with a given payload (length).
- writeUInt(int, long) - Method in class ej.cbor.CborEncoder
-
Encodes and writes an unsigned integer value, that is, tries to encode it in a little bytes as possible.
- writeUInt16(int, int) - Method in class ej.cbor.CborEncoder
-
Encodes and writes an unsigned 16-bit integer value.
- writeUInt32(int, int) - Method in class ej.cbor.CborEncoder
-
Encodes and writes an unsigned 32-bit integer value.
- writeUInt64(int, long) - Method in class ej.cbor.CborEncoder
-
Encodes and writes an unsigned 64-bit integer value.
- writeUInt8(int, int) - Method in class ej.cbor.CborEncoder
-
Encodes and writes an unsigned 8-bit integer value.
- writeUndefined() - Method in class ej.cbor.CborEncoder
-
Writes an "undefined" value in canonical CBOR format.
All Classes All Packages