public class MemoryRandomAccess extends Object implements RandomAccess
| Modifier and Type | Field and Description | 
|---|---|
| private byte[] | data | 
| private long | position | 
| Constructor and Description | 
|---|
| MemoryRandomAccess(byte[] data) | 
public void close()
           throws IOException
close in interface RandomAccessIOExceptionpublic long length()
            throws IOException
length in interface RandomAccessIOExceptionpublic void seek(long l)
          throws IOException
seek in interface RandomAccessIOExceptionpublic long read(byte[] ba,
        int offset,
        int length)
          throws IOException
read in interface RandomAccessIOExceptionCopyright © 2016 Open Microscopy Environment