@Test public void testDecoderObject() { String encodedData = "0xf902d101f902ccf8b1b8401f3a8672348ff6b789e416762ad53e69063138b8eb4d8780101658f24b2369f1a8e09499226b467d8bc0c4e03e1dc903df857eeb3c67733d21b6aaee2842233494000000740ce31b3fac20dac379db243021a51e809410000000000000000000000000000000000000028080020102820100022001820101f68e7878636363636464646464646464864920416d20308d7777772e62616964752e636f6d917468697320697320206261696475207e7ef8b1b8402f3a8672348ff6b789e416762ad53e69063138b8eb4d8780101658f24b2369f1a8e09499226b467d8bc0c4e03e1dc903df857eeb3c67733d21b6aaee2843546694740ce31b3fac20dac379db243021a51e804445559410000000000000000000000000000000000000020101020103820100022001820101f68e7878636363636464646464646464864920416d20318d7777772e62616964752e636f6d917468697320697320206261696475207e7ef8b1b8403f3a8672348ff6b789e416762ad53e69063138b8eb4d8780101658f24b2369f1a8e09499226b467d8bc0c4e03e1dc903df857eeb3c67733d21b6aaee2854487894000000740ce31b3fac20dac379db243021a51e809410000000000000000000000000000000000000020204020104820100022001820101f68e7878636363636464646464646464864920416d20328d7777772e62616964752e636f6d917468697320697320206261696475207e7ef8b1b8403f3a8672348ff6b789e416762ad53e69063138b8eb4d8780101658f24b2369f1a8e09499226b467d8bc0c4e03e1dc903df857eeb3c67733d21b6aaee2856464694000000740ce31b3fac20dac379db243021a51e809410000000000000000000000000000000000000020309020105820100022001820101f68e7878636363636464646464646464864920416d20338d7777772e62616964752e636f6d917468697320697320206261696475207e7e80"; RlpList rlpList = RlpDecoder.decode(encodedData.getBytes()); }
public static RlpList decode(byte[] rlpEncoded) { RlpList rlpList = new RlpList(new ArrayList<RlpType>()); traverse(rlpEncoded, 0, rlpEncoded.length, rlpList); return rlpList; }
RlpDecoder { public static RlpList decode(byte[] rlpEncoded) { RlpList rlpList = new RlpList(new ArrayList<RlpType>()); traverse(rlpEncoded, 0, rlpEncoded.length, rlpList); return rlpList; } }
RlpDecoder { public static RlpList decode(byte[] rlpEncoded) { RlpList rlpList = new RlpList(new ArrayList<RlpType>()); traverse(rlpEncoded, 0, rlpEncoded.length, rlpList); return rlpList; }  }
RlpDecoder { public static RlpList decode(byte[] rlpEncoded) { RlpList rlpList = new RlpList(new ArrayList<RlpType>()); traverse(rlpEncoded, 0, rlpEncoded.length, rlpList); return rlpList; }  static RlpList decode(byte[] rlpEncoded); }
RlpDecoder { public static RlpList decode(byte[] rlpEncoded) { RlpList rlpList = new RlpList(new ArrayList<RlpType>()); traverse(rlpEncoded, 0, rlpEncoded.length, rlpList); return rlpList; }  static RlpList decode(byte[] rlpEncoded); static int OFFSET_SHORT_STRING; static int OFFSET_LONG_STRING; static int OFFSET_SHORT_LIST; static int OFFSET_LONG_LIST; }