| Modifier and Type | Method and Description |
|---|---|
static MappedBytes |
MappedBytes.allocate(File file,
FileChannel.MapMode mode,
int size)
Allocates a mapped buffer.
|
static MappedBytes |
MappedBytes.allocate(File file,
int size)
Allocates a mapped buffer in
FileChannel.MapMode#READ_WRITE mode. |
MappedBytes |
FileBytes.map(int offset,
int size)
Maps a portion of the randomAccessFile into memory in
FileChannel.MapMode#READ_WRITE mode and returns
a UnsafeMappedBytes instance. |
MappedBytes |
FileBytes.map(int offset,
int size,
FileChannel.MapMode mode)
Maps a portion of the randomAccessFile into memory and returns a
UnsafeMappedBytes instance. |
Copyright © 2013–2017. All rights reserved.