public final class RandomAccessFileUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fullyRead(java.io.RandomAccessFile raf,
byte[] data)
Reads from an random access file until the provided array is filled.
|
public static void fullyRead(@Nonnull
java.io.RandomAccessFile raf,
@Nonnull
byte[] data)
throws java.io.IOException
raf - the file to read data fromdata - the array that will receive the datajava.io.IOException - failed to read the data