public class SignedByteDataBuffer extends DataBuffer
banks, dataType, offset, offsets, size, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
Constructor and Description |
---|
SignedByteDataBuffer(byte[][] dataArray,
int size)
Construct a new buffer of signed bytes using the given 2D byte array.
|
SignedByteDataBuffer(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 SignedByteDataBuffer(byte[] dataArray, int size)
public SignedByteDataBuffer(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 © 2015–2022 ImgLib2. All rights reserved.