|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface LayoutBB.Chunk
A chunk of data that is contiguous in both the source and destination. Read nelems from ByteBuffer at filePos, store in destination at startElem.
Method Summary | |
---|---|
ByteBuffer |
getByteBuffer()
|
long |
getDestElem()
Get starting element position as a 1D element index into the destination, eg the requested array with shape "wantSection". |
DoubleBuffer |
getDoubleBuffer()
|
FloatBuffer |
getFloatBuffer()
|
IntBuffer |
getIntBuffer()
|
LongBuffer |
getLongBuffer()
|
int |
getNelems()
Get number of elements to transfer contiguously (Note: elements, not bytes) |
ShortBuffer |
getShortBuffer()
|
int |
getSrcElem()
Get the position in source |
Methods inherited from interface ucar.nc2.iosp.Layout.Chunk |
---|
getSrcPos |
Method Detail |
---|
int getSrcElem()
ByteBuffer getByteBuffer()
ShortBuffer getShortBuffer()
IntBuffer getIntBuffer()
FloatBuffer getFloatBuffer()
DoubleBuffer getDoubleBuffer()
LongBuffer getLongBuffer()
int getNelems()
getNelems
in interface Layout.Chunk
long getDestElem()
getDestElem
in interface Layout.Chunk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |