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