Method
getData
(final long offset, final byte[] src, int srcPos, int srcSize)
Source from the content-addressed store, hash-verified
| 109 | } |
| 110 | |
| 111 | @Override public void getData(final long offset, final byte[] src, int srcPos, int srcSize){ |
| 112 | final ByteBuffer b1 = getSlice(offset).duplicate(); |
| 113 | final int bufPos = (int) (offset& sliceSizeModMask); |
| 114 | |
| 115 | b1.position(bufPos); |
| 116 | b1.get(src, srcPos, srcSize); |
| 117 | } |
| 118 | |
| 119 | |
| 120 | @Override final public long getLong(long offset) { |
Callers
nothing calls this directly
Tested by
no test coverage detected