@NotStorableClass public abstract class AbstractConverter extends Object implements IBinaryConverter
IBinaryConverter.byteSize() minus 1| Modifier and Type | Field and Description |
|---|---|
protected HelperBinaryConversion |
helperBinaryConversion |
Object |
objectFromBinary |
int |
offsetFromBinary |
boolean |
valueDefinedFromBinary |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
assertBound(byte[] binary,
int offset) |
void |
initialize(HelperBinaryConversion helperBinaryConversion,
IObjectIOManagerForObjectIO objectIOManager) |
protected int |
referencedObject(byte[] binary,
int offset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbyteSize, fromBinary, toBinaryprotected HelperBinaryConversion helperBinaryConversion
public Object objectFromBinary
public int offsetFromBinary
public boolean valueDefinedFromBinary
protected boolean assertBound(byte[] binary,
int offset)
public void initialize(HelperBinaryConversion helperBinaryConversion, IObjectIOManagerForObjectIO objectIOManager)
initialize in interface IBinaryConverterprotected int referencedObject(byte[] binary,
int offset)
throws BinaryConverterException
BinaryConverterExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.