类 ArrayStructureBBpos


  • 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.
    作者:
    caron
    • 字段详细资料

      • positions

        protected int[] positions
    • 构造器详细资料

      • ArrayStructureBBpos

        public ArrayStructureBBpos​(StructureMembers members,
                                   int[] shape,
                                   java.nio.ByteBuffer bbuffer,
                                   int[] positions)
        Construct an ArrayStructureBB with the given ByteBuffer.
        参数:
        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()