public interface BinaryWireCode
The constants are categorized into different types: BYTES_LENGTH8, BYTES_LENGTH16, and BYTES_LENGTH32 correspond to sequences of length 0 - 255, 0 - 2^16-1, and 0 - 2^32-1 respectively, FIELD_ANCHOR, ANCHOR, and UPDATED_ALIAS are used for field anchoring purposes, U8_ARRAY represents an array of unsigned bytes, I64_ARRAY represents an array of 64-bit integer values, PADDING32 and PADDING are used for padding purposes, FLOAT32, FLOAT64, FLOAT_STOP_2, FLOAT_STOP_4, FLOAT_STOP_6, FLOAT_SET_LOW_0, FLOAT_SET_LOW_2, FLOAT_SET_LOW_4 are used for various floating point number operations, UUID, UINT8, UINT16, UINT32, INT8, INT16, INT32, INT64, SET_LOW_INT8, SET_LOW_INT16, STOP_BIT, INT64_0x are used for various integer operations and UUID representation, FALSE, TRUE, TIME, DATE, DATE_TIME, ZONED_DATE_TIME, TYPE_PREFIX, FIELD_NAME_ANY, STRING_ANY, EVENT_NAME, FIELD_NUMBER, NULL, TYPE_LITERAL, EVENT_OBJECT, COMMENT, HINT are used for various data type representations and operations, FIELD_NAME0 to FIELD_NAME31 are used to represent field names, STRING_0 to STRING_31 are used to represent strings.
Modifier and Type | Field and Description |
---|---|
static int |
ANCHOR
Represents an anchor.
|
static int |
BYTES_LENGTH16
Represents a sequence of length 0 - 2^16-1 bytes.
|
static int |
BYTES_LENGTH32
Represents a sequence of length 0 - 2^32-1.
|
static int |
BYTES_LENGTH8
Represents a sequence of length 0 - 255 bytes.
|
static int |
COMMENT
Represents a comment.
|
static int |
DATE
Represents a date.
|
static int |
DATE_TIME
Represents a date and time.
|
static int |
EVENT_NAME
Represents an event name.
|
static int |
EVENT_OBJECT
Represents an event object.
|
static int |
FALSE
Represents a boolean false value.
|
static int |
FIELD_ANCHOR
Denotes a field anchor.
|
static int |
FIELD_NAME_ANY
Represents a field name that can be any string.
|
static int |
FIELD_NAME0
Represents the field name of length 0.
|
static int |
FIELD_NAME31
Represents the field name of length 31 bytes.
|
static int |
FIELD_NUMBER
Represents a field number.
|
static int |
FLOAT_SET_LOW_0
Represents floating-point set low 0.
|
static int |
FLOAT_SET_LOW_2
Represents floating-point set low 2.
|
static int |
FLOAT_SET_LOW_4
Represents floating-point set low 4.
|
static int |
FLOAT_STOP_2
Represents floating-point stop bit encoded * 10^2.
|
static int |
FLOAT_STOP_4
Represents floating-point stop 4.
|
static int |
FLOAT_STOP_6
Represents floating-point stop 6.
|
static int |
FLOAT32
Represents a 32-bit floating-point number.
|
static int |
FLOAT64
Represents a 64-bit floating-point number.
|
static int |
HINT
Represents a hint.
|
static int |
I64_ARRAY
Represents an array of signed long.
|
static int |
INT16
Represents a 16-bit integer.
|
static int |
INT32
Represents a 32-bit integer.
|
static int |
INT64
Represents a 64-bit integer.
|
static int |
INT64_0x
Represents a 64-bit integer with a hexadecimal prefix.
|
static int |
INT8
Represents an 8-bit integer.
|
static int |
NULL
Represents a null value.
|
static int |
PADDING
Represents padding.
|
static int |
PADDING32
Represents 32-bit padding.
|
static int |
SET_LOW_INT16
Represents a set low 16-bit integer.
|
static int |
SET_LOW_INT8
Represents a set low 8-bit integer.
|
static int |
STOP_BIT
Represents a stop bit.
|
static int |
STRING_0
Represents the string of length 0.
|
static int |
STRING_31
Represents the string of length 31 bytes.
|
static int |
STRING_ANY
Represents a string that can be any string.
|
static String[] |
STRING_FOR_CODE
Maps each code in the interface to its corresponding string representation.
|
static int |
TIME
Represents a time.
|
static int |
TRUE
Represents a boolean true value.
|
static int |
TYPE_LITERAL
Represents a type literal.
|
static int |
TYPE_PREFIX
Represents a type prefix.
|
static int |
U8_ARRAY
Represents an array of unsigned bytes.
|
static int |
UINT16
Represents a 16-bit unsigned integer.
|
static int |
UINT32
Represents a 32-bit unsigned integer.
|
static int |
UINT8
Represents an 8-bit unsigned integer.
|
static int |
UPDATED_ALIAS
Represents an updated alias.
|
static int |
UUID
Represents a UUID.
|
static int |
ZONED_DATE_TIME
Represents a zoned date and time.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
_stringForCode(Class<?> clazz)
Helper method for generating a text representation all the codes
|
static final int BYTES_LENGTH8
static final int BYTES_LENGTH16
static final int BYTES_LENGTH32
static final int FIELD_ANCHOR
static final int ANCHOR
static final int UPDATED_ALIAS
static final int U8_ARRAY
static final int I64_ARRAY
static final int PADDING32
static final int PADDING
static final int FLOAT32
static final int FLOAT64
static final int FLOAT_STOP_2
static final int FLOAT_STOP_4
static final int FLOAT_STOP_6
static final int FLOAT_SET_LOW_0
static final int FLOAT_SET_LOW_2
static final int FLOAT_SET_LOW_4
static final int UUID
static final int UINT8
static final int UINT16
static final int UINT32
static final int INT8
static final int INT16
static final int INT32
static final int INT64
static final int SET_LOW_INT8
static final int SET_LOW_INT16
static final int STOP_BIT
static final int INT64_0x
static final int FALSE
static final int TRUE
static final int TIME
static final int DATE
static final int DATE_TIME
static final int ZONED_DATE_TIME
static final int TYPE_PREFIX
static final int FIELD_NAME_ANY
static final int STRING_ANY
static final int EVENT_NAME
static final int FIELD_NUMBER
static final int NULL
static final int TYPE_LITERAL
static final int EVENT_OBJECT
static final int COMMENT
static final int HINT
static final int FIELD_NAME0
static final int FIELD_NAME31
static final int STRING_0
static final int STRING_31
static final String[] STRING_FOR_CODE
Copyright © 2023. All rights reserved.