@Override public int getElem(int bank, int i) { return 0xff & zpixmap.get_data_element(i); }
@Override public void setElem(int bank, int i, int val) { zpixmap.set_data_element(i, (byte) val); }
/** * Creates a ZPixmapDataBuffer from an existing ZPixmap. * * @param zpixmap the ZPixmap to wrap */ ZPixmapDataBuffer(ZPixmap zpixmap) { super(TYPE_BYTE, zpixmap.get_data_length()); this.zpixmap = zpixmap; }