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