Enum AdditionalInformation

java.lang.Object
java.lang.Enum<AdditionalInformation>
co.nstant.in.cbor.model.AdditionalInformation
All Implemented Interfaces:
Serializable, Comparable<AdditionalInformation>, java.lang.constant.Constable

public enum AdditionalInformation
extends Enum<AdditionalInformation>
The initial byte of each data item contains both information about the major type (the high-order 3 bits) and additional information (the low-order 5 bits). When the value of the additional information is less than 24, it is directly used as a small unsigned integer. When it is 24 to 27, the additional bytes for a variable-length integer immediately follow; the values 24 to 27 of the additional information specify that its length is a 1-, 2-, 4- or 8-byte unsigned integer, respectively. Additional information value 31 is used for indefinite length items, described in Section 2.2. Additional information values 28 to 30 are reserved for future expansion.