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