public class DataSizeObject extends StreamObject
Modifier and Type | Field and Description |
---|---|
long |
dataSize |
Constructor and Description |
---|
DataSizeObject()
Initializes a new instance of the DataSizeObject class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deserializeItemsFromByteArray(byte[] byteArray,
AtomicInteger currentIndex,
int lengthOfItems)
Used to de-serialize the element.
|
protected int |
serializeItemsToByteList(List<Byte> byteList)
Used to convert the element into a byte List.
|
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
public DataSizeObject()
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws IOException
deserializeItemsFromByteArray
in class StreamObject
byteArray
- A Byte arraycurrentIndex
- Start positionlengthOfItems
- The length of the itemsIOException
protected int serializeItemsToByteList(List<Byte> byteList)
serializeItemsToByteList
in class StreamObject
byteList
- A Byte listCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.