Package com.maxmind.db
Class Decoder
- java.lang.Object
-
- com.maxmind.db.Decoder
-
final class Decoder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Decoder.Type
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
POINTER_TEST_HACK
-
Constructor Summary
Constructors Constructor Description Decoder(NodeCache cache, ByteBuffer buffer, long pointerBase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Object
decode()
(package private) Object
decode(int offset)
(package private) static int
decodeInteger(ByteBuffer buffer, int base, int size)
-
-
-
Constructor Detail
-
Decoder
Decoder(NodeCache cache, ByteBuffer buffer, long pointerBase)
-
-
Method Detail
-
decode
Object decode(int offset) throws IOException
- Throws:
IOException
-
decode
Object decode() throws IOException
- Throws:
IOException
-
decodeInteger
static int decodeInteger(ByteBuffer buffer, int base, int size)
-
-