File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
src/main/java/com/maxmind/db Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -318,22 +318,6 @@ public String decode(CharsetDecoder decoder)
318318 return out .toString ();
319319 }
320320
321- /**
322- * Wraps the given {@link ByteBuffer}s in a new {@code MultiBuffer}.
323- *
324- * <p>All chunks must have size {@link #DEFAULT_CHUNK_SIZE}, except that
325- * the final chunk may be smaller. The buffers are used directly and not
326- * copied.
327- *
328- * @param chunks the backing buffers
329- * @return a new {@code MultiBuffer} backed by the given buffers
330- * @throws IllegalArgumentException if a non-final chunk is smaller than
331- * {@link #DEFAULT_CHUNK_SIZE}
332- */
333- public static MultiBuffer wrap (ByteBuffer [] chunks ) {
334- return new MultiBuffer (chunks , DEFAULT_CHUNK_SIZE );
335- }
336-
337321 /**
338322 * Creates a read-only {@code MultiBuffer} by memory-mapping the given
339323 * {@link FileChannel}.
You can’t perform that action at this time.
0 commit comments