Skip to content

Commit 752536f

Browse files
committed
Merge branch 'main' into replace-bytebuffer-array-call
2 parents 2b42228 + 4612451 commit 752536f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/dev/zarr/zarrjava/v3/codec/core/ShardingIndexedCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public Array decodePartial(StoreHandle chunkHandle, long[] offset, int[] shape)
249249
if (chunkBytes == null) {
250250
return arrayMetadata.allocateFillValueChunk();
251251
}
252-
return decodeInternal(new ByteBufferDataProvider(chunkHandle.read()), offset, shape, arrayMetadata);
252+
return decodeInternal(new ByteBufferDataProvider(chunkBytes), offset, shape, arrayMetadata);
253253
}
254254
return decodeInternal(new StoreHandleDataProvider(chunkHandle), offset, shape, arrayMetadata);
255255
}

0 commit comments

Comments
 (0)