public class CompactListDescriptor extends Object
*
+----------------------------+ | HEADER | +----------------------------+ | DATA SECTION | +----------------------------+Header Layout
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIZE | +---------------------------------------------------------------+ | ELEMENT MAX LENGTH | +---------------------------------------------------------------+ | CAPACITY | +---------------------------------------------------------------+Element Layout
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ELEMENT LENGTH | +---------------------------------------------------------------+ | ELEMENT | +---------------------------------------------------------------+
| Modifier and Type | Field and Description |
|---|---|
static int |
CAPACITY_OFFSET |
static int |
DATA_SECTION_OFFSET |
static int |
ELEMENT_HEADER_LENGTH |
static int |
ELEMENT_LENGTH_OFFSET |
static int |
ELEMENT_MAX_LENGTH_OFFSET |
static int |
HEADER_LENGTH |
static int |
HEADER_OFFSET |
static int |
SIZE_OFFSET |
| Constructor and Description |
|---|
CompactListDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static int |
capacityOffset() |
static int |
dataSectionOffset() |
static int |
elementDataOffset(int offset) |
static int |
elementLengthOffset(int offset) |
static int |
elementMaxLengthOffset() |
static int |
elementOffset(int framedLength,
int idx) |
static int |
framedLength(int length) |
static int |
headerLength() |
static int |
headerOffset() |
static int |
requiredBufferCapacity(int framedLength,
int capacity) |
static int |
sizeOffset() |
public static final int HEADER_OFFSET
public static final int SIZE_OFFSET
public static final int ELEMENT_MAX_LENGTH_OFFSET
public static final int CAPACITY_OFFSET
public static final int HEADER_LENGTH
public static final int DATA_SECTION_OFFSET
public static final int ELEMENT_HEADER_LENGTH
public static final int ELEMENT_LENGTH_OFFSET
public static int headerOffset()
public static int sizeOffset()
public static int elementMaxLengthOffset()
public static int capacityOffset()
public static int dataSectionOffset()
public static int headerLength()
public static int requiredBufferCapacity(int framedLength,
int capacity)
public static int elementOffset(int framedLength,
int idx)
public static int elementLengthOffset(int offset)
public static int elementDataOffset(int offset)
public static int framedLength(int length)
Copyright © 2017–2019 camunda services GmbH. All rights reserved.