public interface DataInput
extends java.io.Closeable, java.io.Externalizable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DataInput.Type |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateData(java.nio.MappedByteBuffer byteLayer,
long seed) |
static DataInput |
getInstance(java.lang.String inputFilePath,
java.lang.String seed,
com.github.akurilov.commons.system.SizeInBytes layerSize,
int layerCacheLimit) |
java.nio.MappedByteBuffer |
getLayer(int layerIndex) |
int |
getSize() |
int getSize()
java.nio.MappedByteBuffer getLayer(int layerIndex)
static DataInput getInstance(java.lang.String inputFilePath, java.lang.String seed, com.github.akurilov.commons.system.SizeInBytes layerSize, int layerCacheLimit) throws java.io.IOException, java.lang.IllegalStateException, java.lang.IllegalArgumentException
java.io.IOExceptionjava.lang.IllegalStateExceptionjava.lang.IllegalArgumentExceptionstatic void generateData(java.nio.MappedByteBuffer byteLayer,
long seed)