final class Decoder extends Object
This class CANNOT be shared between threads
| Modifier and Type | Class and Description |
|---|---|
(package private) static class | Decoder.TypeEnumeration of data types supported in MaxMind DB format. |
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean | POINTER_TEST_HACK |
| Constructor and Description |
|---|
Decoder(NodeCache cache,
ByteBuffer buffer,
long pointerBase)Create Decoder |
| Modifier and Type | Method and Description |
|---|---|
(package private) Object | decode()Decode from buffer |
(package private) Object | decode(int offset)Decode at offset |
(package private) static int | decodeInteger(ByteBuffer buffer,
int base,
int size)Decode integer |
Decoder(NodeCache cache, ByteBuffer buffer, long pointerBase)
Object decode() throws IOException
IOExceptionObject decode(int offset) throws IOException
IOExceptionstatic int decodeInteger(ByteBuffer buffer, int base, int size)