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
IOExceptionpublic Transaction decode(byte[] encoded) throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.