Attribute data types
The following table describes the attribute data types for all attributes defined in the current implementation.
Label | Type Number | Size (Bytes) | Comment |
---|---|---|---|
BOOLEAN_TYPE | 0x10 | 1 | |
GENERAL8_TYPE | 0x08 | 1 | For General types. Byte signification depends on the managed attribute. |
GENERAL16_TYPE | 0x09 | 2 | |
GENERAL24_TYPE | 0x0a | 3 | |
GENERAL32_TYPE | 0x0b | 4 | |
BITMAP8_TYPE | 0x18 | 1 | For Bitmaps types. Bits signification depends on the managed attribute. |
BITMAP16_TYPE | 0x19 | 2 | |
UINT8_TYPE | 0x20 | 1 | |
UINT16_TYPE | 0x21 | 2 | |
UINT24_TYPE | 0x22 | 3 | |
UINT32_TYPE | 0x23 | 4 | |
INT8_TYPE | 0x28 | 1 | |
INT16_TYPE | 0x29 | 2 | |
INT32_TYPE | 0x2b | 4 | |
UINT8_ENUM | 0x30 | 1 | |
CHAR_STRING | 0x42 | 1+n | [size][char1,char2, …] |
BYTES_STRING | 0x41 | 1+n | [size][byte1,byte2, …] |
LONG_BYTES_STRING | 0x43 | 2+n | [sizeH][sizeL][byte1,byte2, …] |
STRUCTURE_ORDEREDSEQUENCE | 0x4c | 2+n | 2 first bytes are the size of the following byte string. n depends of the managed attribute |
SINGLE_TYPE | 0x39 | 4 | The single format representation is managed as follows : 1 sign bit, 8bits Exponent, 23 bits fractional "s eeeeeeee ffffffffffffffffffffff" |