public abstract class ASerialType extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
value |
Constructor and Description |
---|
ASerialType() |
ASerialType(byte[] ba) |
ASerialType(byte[] ba,
int offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
int |
getLength() |
abstract int |
getMinLength() |
abstract int |
getTypeLength(byte[] ba,
int offset) |
int |
hashCode() |
protected void |
parseValue() |
void |
setBytes(byte[] b) |
abstract String |
toString() |
protected void |
updateValue() |
public ASerialType()
public ASerialType(byte[] ba)
public ASerialType(byte[] ba, int offset)
protected void parseValue()
protected void updateValue()
public final byte[] getBytes()
public void setBytes(byte[] b)
public abstract int getMinLength()
public int getLength()
public abstract int getTypeLength(byte[] ba, int offset)
Copyright © 2016. All rights reserved.