Encodes and decodes long values as specified by
QUIC.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final int | |
| private int | |
| public static final int | |
| private long | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static void | |
| public static int | |
| public void | |
| private boolean |
| encoding | back to summary |
|---|---|
| private int encoding | |
| ENCODING_MASK | back to summary |
|---|---|
| private static final int ENCODING_MASK | |
| length | back to summary |
|---|---|
| private int length | |
| MAX_LENGTH | back to summary |
|---|---|
| public static final int MAX_LENGTH | |
| value | back to summary |
|---|---|
| private long value | |
| VALUE_MASK | back to summary |
|---|---|
| private static final int VALUE_MASK | |
| VarLenInt | back to summary |
|---|---|
| public VarLenInt() | |
| decode | back to summary |
|---|---|
| public boolean decode(ByteBuffer buffer, LongConsumer consumer) | |
| encode | back to summary |
|---|---|
| public static void encode(ByteBuffer buffer, long value) | |
| length | back to summary |
|---|---|
| public static int length(long value) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| result | back to summary |
|---|---|
| private boolean result(LongConsumer consumer) | |
| Access | Constructor and Description |
|---|---|
| public |
| InvalidException | back to summary |
|---|---|
| public InvalidException(String message) | |