Modifier and Type | Field and Description |
---|---|
byte |
data |
Constructor and Description |
---|
OneByteOfData() |
Modifier and Type | Method and Description |
---|---|
int |
doDeserializeFromByteArray(byte[] byteArray,
int startIndex)
This method is used to deserialize the OneByteOfData from the specified byte array and start index.
|
List<Byte> |
serializeToByteList()
This method is used to convert the element of OneByteOfData into a byte List.
|
public int doDeserializeFromByteArray(byte[] byteArray, int startIndex)
doDeserializeFromByteArray
in interface IProperty
byteArray
- Specify the byte array.startIndex
- Specify the start index from the byte array.public List<Byte> serializeToByteList()
serializeToByteList
in interface IProperty
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.