Skip to content

Commit 984d90c

Browse files
committed
fix: ZarrV3DatasetAttributes.getFillBytes should never return null
1 parent 2fa11b2 commit 984d90c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/janelia/saalfeldlab/n5/zarr/v3/ZarrV3DatasetAttributes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public String[] getDimensionNames() {
410410

411411
public byte[] getFillBytes() {
412412

413-
return fillBytes;
413+
return fillBytes != null ? fillBytes : new byte[8];
414414
}
415415

416416
@Override

0 commit comments

Comments
 (0)