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, tryGetCurrentpublic DataSizeObject()
protected void deserializeItemsFromByteArray(byte[] byteArray,
                                             AtomicInteger currentIndex,
                                             int lengthOfItems)
                                      throws IOException
deserializeItemsFromByteArray in class StreamObjectbyteArray - A Byte arraycurrentIndex - Start positionlengthOfItems - The length of the itemsIOExceptionprotected int serializeItemsToByteList(List<Byte> byteList)
serializeItemsToByteList in class StreamObjectbyteList - A Byte listCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.