MCPcopy Create free account
hub / github.com/jankotek/mapdb / getData

Method getData

src/main/java/org/mapdb/volume/ByteBufferVol.java:111–117  ·  view source on GitHub ↗
(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

Calls 2

getSliceMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected