@Override public byte[] openBytes(int no, byte[] buf) throws FormatException, IOException { return reader.openBytes(no, buf); }
@Override public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException { return reader.openBytes(no, buf, x, y, w, h); }
@Override public byte[] openBytes(int no, int x, int y, int w, int h) throws FormatException, IOException { return reader.openBytes(no, x, y, w, h); }
@Override public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException { return reader.openBytes(no, buf, x, y, w, h); }
@Override public byte[] openBytes(int no, int x, int y, int w, int h) throws FormatException, IOException { return reader.openBytes(no, x, y, w, h); }
@Override public byte[] openBytes(int no, byte[] buf) throws FormatException, IOException { return reader.openBytes(no, buf); }
@Override public byte[] openBytes(int no) throws FormatException, IOException { return reader.openBytes(no); }
@Override public byte[] openBytes(int no) throws FormatException, IOException { return reader.openBytes(no); }
@Override public byte[] openBytes(int no, int x, int y, int w, int h) throws FormatException, IOException { return getReader().openBytes(no, x, y, w, h); }
@Override public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException { return getReader().openBytes(no, buf, x, y, w, h); }
@Override public byte[] openBytes(int no, byte[] buf) throws FormatException, IOException { return getReader().openBytes(no, buf); }
@Override public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException { return getReader().openBytes(no, buf, x, y, w, h); }
@Override public byte[] openBytes(int no, int x, int y, int w, int h) throws FormatException, IOException { return getReader().openBytes(no, x, y, w, h); }
@Override public byte[] openBytes(int no, byte[] buf) throws FormatException, IOException { return getReader().openBytes(no, buf); }
public byte[] getTile(int z, int c, int t, int x, int y, int w, int h, byte[] buffer) throws FormatException, IOException { return reader.openBytes(reader.getIndex(z, c, t), buffer, x, y, w, h); }
@Override public Object getObject(int index) throws CacheException { try { return reader.openBytes(index); } catch (FormatException exc) { throw new CacheException(exc); } catch (IOException exc) { throw new CacheException(exc); } }
@Override public Object getObject(int index) throws CacheException { try { return reader.openBytes(index); } catch (FormatException exc) { throw new CacheException(exc); } catch (IOException exc) { throw new CacheException(exc); } }
@Test(dependsOnMethods={"setId"}) @Assumption(methods = "isNotBigImage") public void testOpenBytesPlane() throws Exception { for (int series = 0; series < seriesCount; series++) { assertSeries(series); byte[] plane = new byte[planeSize]; for (int i = 0; i < reader.getImageCount(); i++) { reader.openBytes(i, plane); } } }