public class TransactionCodec extends Object
Transaction instances to and from byte[].| Constructor and Description |
|---|
TransactionCodec() |
public byte[] encode(Transaction tx) throws IOException
IOExceptionpublic Transaction decode(byte[] encoded) throws IOException
IOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.