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 classDecoder.Type
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanPOINTER_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) Objectdecode()(package private) Objectdecode(int offset)(package private) static intdecodeInteger(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)
-
-