Describe the bug
Reading a dataset slice of size Integer.MAX_VALUE bytes does not yield the same data, as was written by putDataset.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
- The two arrays in the
main method should have the same content, but they don't.
Please complete the following information:
jhdf version: 0.9.4
- Java version: 21
- OS (Windows, Mac, Linux): Linux
Additional context
- Reducing MAX_ARRAY_SIZE by 4kB solves the issue
Describe the bug
Reading a dataset slice of size Integer.MAX_VALUE bytes does not yield the same data, as was written by
putDataset.To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
mainmethod should have the same content, but they don't.Please complete the following information:
jhdfversion: 0.9.4Additional context