public abstract class PktSubheader extends PktBody
| Modifier and Type | Field and Description |
|---|---|
static int |
PREAMBLE_LENGTH |
static int |
PREAMBLE_LENGTH_V1 |
static byte |
V1 |
static byte |
VERSION |
count, head, next, prev| Modifier and Type | Method and Description |
|---|---|
abstract int |
getSerializedLength(ByteBuffer buffer,
int offset)
Get the serialized length from the serialized form
|
abstract int |
getSerializedLength(IOBuffer buffer,
int offset)
Get the serialized length from the serialized form
|
abstract int |
getSerializedLength(long addr,
int offset)
Get the serialized length from the serialized form
|
static int |
getType(ByteBuffer buffer,
int offset)
Get the subheader type from a serialized subheader preamble.
|
static int |
getType(IOBuffer buffer,
int offset)
Get the subheader type from a serialized subheader preamble.
|
static int |
getType(long addr,
int offset)
Get the subheader type from a serialized subheader preamble.
|
deserialize, deserialize, deserialize, deserialize, deserialize, deserialize, deserialize, desync, dump, getBuffer, getInitialBufferLength, getSerializedLength, getTo, getTo, getTo, getTo, getTo, getTo, getTo, getType, initializeBuffer, putFrom, putFrom, putFrom, putFrom, putFrom, putFrom, putFrom, putFrom, reset, reset, serialize, serialize, serialize, serialize, serialize, serialize, sync, syncfcount, insertAfter, insertBefore, isLinked, next, previous, unlink, wipepublic static final byte V1
public static final byte VERSION
public static final int PREAMBLE_LENGTH_V1
public static final int PREAMBLE_LENGTH
public static final int getType(ByteBuffer buffer, int offset)
public static final int getType(IOBuffer buffer, int offset)
public static final int getType(long addr,
int offset)
public abstract int getSerializedLength(ByteBuffer buffer, int offset)
public abstract int getSerializedLength(IOBuffer buffer, int offset)
public abstract int getSerializedLength(long addr,
int offset)
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.