public class SignedByteBuffer
extends java.awt.image.DataBuffer
Modifier and Type | Field and Description |
---|---|
private byte[][] |
bankData |
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) |
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 java.awt.image.DataBuffer
public int getElem(int bank, int i)
getElem
in class java.awt.image.DataBuffer
public void setElem(int i, int val)
setElem
in class java.awt.image.DataBuffer
public void setElem(int bank, int i, int val)
setElem
in class java.awt.image.DataBuffer
Copyright © 2023 Open Microscopy Environment