public class Attribute extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
byte[] |
data |
int |
size |
AttributeUsage |
usage |
| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(BinaryReader reader) |
Object |
json() |
void |
serialize(BinaryWriter writer) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfrom, toArray, toHexStringpublic AttributeUsage usage
public byte[] data
public int size
public void serialize(BinaryWriter writer) throws IOException
serialize in interface SerializableIOExceptionpublic void deserialize(BinaryReader reader) throws IOException
deserialize in interface SerializableIOExceptionpublic Object json()
Copyright © 2020. All rights reserved.