Package ucar.ma2

Class ArrayStructureBBpos

All Implemented Interfaces:
Iterable<StructureData>

public class ArrayStructureBBpos extends ArrayStructureBB
Variation of ArrayStructureBB, where the offsets of the records into the ByteBuffer are uneven and must be passed in by the user.
  • Constructor Details

    • ArrayStructureBBpos

      public ArrayStructureBBpos(StructureMembers members, int[] shape, ByteBuffer bbuffer, int[] positions)
      Construct an ArrayStructureBB with the given ByteBuffer.
      Parameters:
      members - the list of structure members.
      shape - the shape of the structure array
      bbuffer - the data is stored in this ByteBuffer. bbuffer.order must already be set.
      positions - offset from the start of the ByteBufffer to each record. must have length = with shape.getSize()