if (debug) System.out.println(" readData data len= " + dsize);
byte[] datab = new byte[dsize];
NcStream.readFully(is, datab);
if (dataType == DataType.STRUCTURE) {
Structure s = (Structure) ncfile.findVariable(dproto.getVarName());
StructureMembers members = s.makeStructureMembers();
if (dproto.getVersion() == 0) {
ArrayStructureBB.setOffsets(members); // not setting heap objects for version 0
ArrayStructureBB data = new ArrayStructureBB(members, section.getShape(), ByteBuffer.wrap(datab), 0);
return new DataResult(dproto.getVarName(), section, data);