@Implements(value=libcore.io.MemoryMappedFile.class, isInAndroidSdk=false) public class ShadowMemoryMappedFile extends Object
Modifier and Type | Class | Description |
---|---|---|
protected static class |
ShadowMemoryMappedFile.RoboBufferIterator |
Modifier and Type | Field | Description |
---|---|---|
protected byte[] |
bytes |
Constructor | Description |
---|---|
ShadowMemoryMappedFile() |
Modifier and Type | Method | Description |
---|---|---|
libcore.io.BufferIterator |
bigEndianIterator() |
|
void |
close() |
|
protected libcore.io.BufferIterator |
getHeapBufferIterator(ByteOrder endianness) |
|
libcore.io.BufferIterator |
littleEndianIterator() |
|
static libcore.io.MemoryMappedFile |
mmapRO(String path) |
|
int |
size() |
@Implementation public static libcore.io.MemoryMappedFile mmapRO(String path) throws Throwable
Throwable
@Implementation public void close() throws Exception
Exception
@Implementation public libcore.io.BufferIterator bigEndianIterator()
@Implementation public libcore.io.BufferIterator littleEndianIterator()
protected libcore.io.BufferIterator getHeapBufferIterator(ByteOrder endianness)
@Implementation public int size()