Package org.aion.rlp
Class RLPItem
- java.lang.Object
-
- org.aion.rlp.RLPItem
-
- All Implemented Interfaces:
Serializable,RLPElement
public class RLPItem extends Object implements RLPElement
- Author:
- Roman Mandeleil 2014, modified by aion 2017
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RLPItem(byte[] rlpData)Jay inside the RLP encode/decode logic, there is no difference between null obj and zero-byte array Therefore, put empty array when we see the input data is null
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRLPData()
-
-
-
Method Detail
-
getRLPData
public byte[] getRLPData()
- Specified by:
getRLPDatain interfaceRLPElement
-
-