public class Contract extends Object implements Serializable
| 构造器和说明 |
|---|
Contract() |
Contract(byte version,
Address constracHash,
String method,
byte[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deserialize(BinaryReader reader) |
static Contract |
deserializeFrom(byte[] value) |
void |
serialize(BinaryWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, toArray, toHexStringpublic byte version
public Address constracHash
public String method
public byte[] args
public void deserialize(BinaryReader reader) throws IOException
deserialize 在接口中 SerializableIOExceptionpublic void serialize(BinaryWriter writer) throws IOException
serialize 在接口中 SerializableIOExceptionpublic static Contract deserializeFrom(byte[] value) throws IOException
IOExceptionCopyright © 2021. All rights reserved.