Home | History | Annotate | Download | only in util

Lines Matching refs:size

58     long size();
64 * @param size size (in bytes) of the chunk
66 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if
67 * {@code offset + size} is greater than {@link #size()}.
69 void feed(long offset, long size, DataSink sink) throws IOException;
77 * {@code size}.
80 * @param size size (in bytes) of the chunk
82 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if
83 * {@code offset + size} is greater than {@link #size()}.
85 ByteBuffer getByteBuffer(long offset, int size) throws IOException;
89 * advancing the destination buffer's position by {@code size}.
92 * @param size size (in bytes) of the chunk
94 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if
95 * {@code offset + size} is greater than {@link #size()}.
97 void copyTo(long offset, int size, ByteBuffer dest) throws IOException;
104 * @param size size (in bytes) of the region
106 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if
107 * {@code offset + size} is greater than {@link #size()}.
109 DataSource slice(long offset, long size);