public class SignedByteBuffer extends DataBuffer
banks, dataType, offset, offsets, size, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
Constructor and Description |
---|
SignedByteBuffer(byte[][] dataArray,
int size)
Construct a new buffer of signed bytes using the given 2D byte array.
|
SignedByteBuffer(byte[] dataArray,
int size)
Construct a new buffer of signed bytes using the given byte array.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
byte[] |
getData(int bank) |
int |
getElem(int i) |
int |
getElem(int bank,
int i) |
void |
setElem(int i,
int val) |
void |
setElem(int bank,
int i,
int val) |
getDataType, getDataTypeSize, getElemDouble, getElemDouble, getElemFloat, getElemFloat, getNumBanks, getOffset, getOffsets, getSize, setElemDouble, setElemDouble, setElemFloat, setElemFloat
public SignedByteBuffer(byte[] dataArray, int size)
public SignedByteBuffer(byte[][] dataArray, int size)
public byte[] getData()
public byte[] getData(int bank)
public int getElem(int i)
getElem
in class DataBuffer
public int getElem(int bank, int i)
getElem
in class DataBuffer
public void setElem(int i, int val)
setElem
in class DataBuffer
public void setElem(int bank, int i, int val)
setElem
in class DataBuffer
Copyright © 2014 Open Microscopy Environment