// it is always unsigned short
final byte[] slice = new byte[ (int)header.xRes * (int)header.yRes * numChannels * 2 ];
file.read( slice );
final ByteBuffer buffer = ByteBuffer.wrap( slice );
final ShortBuffer shortBuffer = buffer.asShortBuffer();
... which is not true. I have here some .dat files that are:
In line 210 of https://github.com/fiji/IO/blob/master/src/main/java/sc/fiji/io/FIBSEM_Reader.java, it reads, in the function
readChannels:... which is not true. I have here some .dat files that are: