public class MemoryRandomAccess extends Object implements RandomAccess
| Constructor and Description |
|---|
MemoryRandomAccess(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
length() |
long |
read(byte[] ba,
int offset,
int length) |
void |
seek(long l) |
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 © 2008–2016 Open Microscopy Environment. All rights reserved.