We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b66e5 commit aeb2a3aCopy full SHA for aeb2a3a
src/main/java/com/maxmind/db/BufferHolder.java
@@ -63,6 +63,10 @@ final class BufferHolder implements Closeable {
63
this.fc = null;
64
}
65
66
+ /*
67
+ * Returns a duplicate of the underlying ByteBuffer. The returned ByteBuffer
68
+ * should not be shared between threads.
69
+ */
70
synchronized ByteBuffer get() {
71
return this.buffer.duplicate();
72
0 commit comments