CBORGenerator and CBORParser
| Modifier and Type | Field and Description |
|---|---|
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | BYTE_STRING_INDEFINITE
String that is chunked |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int[] | sUtf8UnitLengths
Additionally we can combine UTF-8 decoding info into similar data table. |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | TAG_ID_SELF_DESCRIBE
As per spec, this is a sort of "nop" tag, useful as marker for the very first root-level data item. |
| public static final int | TAG_ID_STRINGREF
Tag denoting the next integer value should be an index for a previous string. |
| public static final int | TAG_ID_STRINGREF_NAMESPACE
Tag denoting a namespace for string references in the following value. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean |
| BYTE_ARRAY_2_ELEMENTS | back to summary |
|---|---|
| public static final byte BYTE_ARRAY_2_ELEMENTS | |
| BYTE_ARRAY_INDEFINITE | back to summary |
|---|---|
| public static final byte BYTE_ARRAY_INDEFINITE | |
| BYTE_BREAK | back to summary |
|---|---|
| public static final byte BYTE_BREAK | |
| BYTE_EMPTY_STRING | back to summary |
|---|---|
| public static final byte BYTE_EMPTY_STRING | |
| BYTE_FALSE | back to summary |
|---|---|
| public static final byte BYTE_FALSE | |
| BYTE_FLOAT16 | back to summary |
|---|---|
| public static final byte BYTE_FLOAT16 | |
| BYTE_FLOAT32 | back to summary |
|---|---|
| public static final byte BYTE_FLOAT32 | |
| BYTE_FLOAT64 | back to summary |
|---|---|
| public static final byte BYTE_FLOAT64 | |
| BYTE_NULL | back to summary |
|---|---|
| public static final byte BYTE_NULL | |
| BYTE_OBJECT_INDEFINITE | back to summary |
|---|---|
| public static final byte BYTE_OBJECT_INDEFINITE | |
| BYTE_STRING_1BYTE_LEN | back to summary |
|---|---|
| public static final byte BYTE_STRING_1BYTE_LEN | |
| BYTE_STRING_2BYTE_LEN | back to summary |
|---|---|
| public static final byte BYTE_STRING_2BYTE_LEN | |
| BYTE_STRING_INDEFINITE | back to summary |
|---|---|
| public static final byte BYTE_STRING_INDEFINITE String that is chunked | |
| BYTE_TAG_BIGFLOAT | back to summary |
|---|---|
| public static final byte BYTE_TAG_BIGFLOAT | |
| BYTE_TAG_BIGNUM_NEG | back to summary |
|---|---|
| public static final byte BYTE_TAG_BIGNUM_NEG | |
| BYTE_TAG_BIGNUM_POS | back to summary |
|---|---|
| public static final byte BYTE_TAG_BIGNUM_POS | |
| BYTE_TAG_DECIMAL_FRACTION | back to summary |
|---|---|
| public static final byte BYTE_TAG_DECIMAL_FRACTION | |
| BYTE_TRUE | back to summary |
|---|---|
| public static final byte BYTE_TRUE | |
| INT_BREAK | back to summary |
|---|---|
| public static final int INT_BREAK | |
| MAJOR_TYPE_ARRAY | back to summary |
|---|---|
| public static final int MAJOR_TYPE_ARRAY | |
| MAJOR_TYPE_BYTES | back to summary |
|---|---|
| public static final int MAJOR_TYPE_BYTES | |
| MAJOR_TYPE_INT_NEG | back to summary |
|---|---|
| public static final int MAJOR_TYPE_INT_NEG | |
| MAJOR_TYPE_INT_POS | back to summary |
|---|---|
| public static final int MAJOR_TYPE_INT_POS | |
| MAJOR_TYPE_MISC | back to summary |
|---|---|
| public static final int MAJOR_TYPE_MISC | |
| MAJOR_TYPE_OBJECT | back to summary |
|---|---|
| public static final int MAJOR_TYPE_OBJECT | |
| MAJOR_TYPE_TAG | back to summary |
|---|---|
| public static final int MAJOR_TYPE_TAG | |
| MAJOR_TYPE_TEXT | back to summary |
|---|---|
| public static final int MAJOR_TYPE_TEXT | |
| MASK_MAJOR_TYPE | back to summary |
|---|---|
| public static final int MASK_MAJOR_TYPE | |
| PREFIX_TYPE_ARRAY | back to summary |
|---|---|
| public static final int PREFIX_TYPE_ARRAY | |
| PREFIX_TYPE_BYTES | back to summary |
|---|---|
| public static final int PREFIX_TYPE_BYTES | |
| PREFIX_TYPE_INT_NEG | back to summary |
|---|---|
| public static final int PREFIX_TYPE_INT_NEG | |
| PREFIX_TYPE_INT_POS | back to summary |
|---|---|
| public static final int PREFIX_TYPE_INT_POS | |
| PREFIX_TYPE_MISC | back to summary |
|---|---|
| public static final int PREFIX_TYPE_MISC | |
| PREFIX_TYPE_OBJECT | back to summary |
|---|---|
| public static final int PREFIX_TYPE_OBJECT | |
| PREFIX_TYPE_TAG | back to summary |
|---|---|
| public static final int PREFIX_TYPE_TAG | |
| PREFIX_TYPE_TEXT | back to summary |
|---|---|
| public static final int PREFIX_TYPE_TEXT | |
| SUFFIX_INDEFINITE | back to summary |
|---|---|
| public static final int SUFFIX_INDEFINITE | |
| SUFFIX_UINT16_ELEMENTS | back to summary |
|---|---|
| public static final int SUFFIX_UINT16_ELEMENTS | |
| SUFFIX_UINT32_ELEMENTS | back to summary |
|---|---|
| public static final int SUFFIX_UINT32_ELEMENTS | |
| SUFFIX_UINT64_ELEMENTS | back to summary |
|---|---|
| public static final int SUFFIX_UINT64_ELEMENTS | |
| SUFFIX_UINT8_ELEMENTS | back to summary |
|---|---|
| public static final int SUFFIX_UINT8_ELEMENTS | |
| sUtf8UnitLengths | back to summary |
|---|---|
| public static final int[] sUtf8UnitLengths Additionally we can combine UTF-8 decoding info into similar data table. Values indicate "byte length - 1"; meaning -1 is used for invalid bytes, 0 for single-byte codes, 1 for 2-byte codes and 2 for 3-byte codes. | |
| TAG_BIGFLOAT | back to summary |
|---|---|
| public static final int TAG_BIGFLOAT | |
| TAG_BIGNUM_NEG | back to summary |
|---|---|
| public static final int TAG_BIGNUM_NEG | |
| TAG_BIGNUM_POS | back to summary |
|---|---|
| public static final int TAG_BIGNUM_POS | |
| TAG_DECIMAL_FRACTION | back to summary |
|---|---|
| public static final int TAG_DECIMAL_FRACTION | |
| TAG_ID_SELF_DESCRIBE | back to summary |
|---|---|
| public static final int TAG_ID_SELF_DESCRIBE As per spec, this is a sort of "nop" tag, useful as marker for the very first root-level data item. | |
| TAG_ID_STRINGREF | back to summary |
|---|---|
| public static final int TAG_ID_STRINGREF Tag denoting the next integer value should be an index for a previous string.
| |
| TAG_ID_STRINGREF_NAMESPACE | back to summary |
|---|---|
| public static final int TAG_ID_STRINGREF_NAMESPACE Tag denoting a namespace for string references in the following value.
| |
| CBORConstants | back to summary |
|---|---|
| public CBORConstants() | |
| hasMajorType | back to summary |
|---|---|
| public static boolean hasMajorType(int expType, byte encoded) | |
| shouldReferenceString | back to summary |
|---|---|
| public static boolean shouldReferenceString(int index, int stringBytes) | |