public class ExtWrapIntEncodingSmall extends ExtWrapIntEncoding
| Modifier and Type | Field and Description |
|---|---|
int |
bias |
static int |
DEFAULT_BIAS |
val| Constructor and Description |
|---|
ExtWrapIntEncodingSmall() |
ExtWrapIntEncodingSmall(long l) |
ExtWrapIntEncodingSmall(long l,
int bias) |
ExtWrapIntEncodingSmall(Object ignore,
int bias) |
| Modifier and Type | Method and Description |
|---|---|
ExternalizableWrapper |
clone(Object val) |
void |
metaReadExternal(DataInputStream in,
PrototypeFactory pf) |
void |
metaWriteExternal(DataOutputStream out) |
void |
readExternal(DataInputStream in,
PrototypeFactory pf) |
void |
writeExternal(DataOutputStream out)
serialize a numeric value, only using as many bytes as needed.
|
baseValue, isEmptypublic static final int DEFAULT_BIAS
public int bias
public ExtWrapIntEncodingSmall(long l)
public ExtWrapIntEncodingSmall(long l,
int bias)
public ExtWrapIntEncodingSmall()
public ExtWrapIntEncodingSmall(Object ignore, int bias)
public ExternalizableWrapper clone(Object val)
clone in class ExternalizableWrapperpublic void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException
readExternal in interface ExternalizablereadExternal in class ExternalizableWrapperIOExceptionpublic void writeExternal(DataOutputStream out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class ExternalizableWrapperIOExceptionpublic void metaReadExternal(DataInputStream in, PrototypeFactory pf) throws IOException
metaReadExternal in class ExternalizableWrapperIOExceptionpublic void metaWriteExternal(DataOutputStream out) throws IOException
metaWriteExternal in class ExternalizableWrapperIOExceptionCopyright © 2022. All rights reserved.