Class RandomAccessFileUtils
- java.lang.Object
-
- com.android.tools.build.apkzlib.zip.utils.RandomAccessFileUtils
-
public final class RandomAccessFileUtils extends java.lang.ObjectUtility class with utility methods for random access files.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfullyRead(java.io.RandomAccessFile raf, byte[] data)Reads from an random access file until the provided array is filled.
-
-
-
Method Detail
-
fullyRead
public static void fullyRead(java.io.RandomAccessFile raf, byte[] data) throws java.io.IOExceptionReads from an random access file until the provided array is filled. Data is read from the current position in the file.- Parameters:
raf- the file to read data fromdata- the array that will receive the data- Throws:
java.io.IOException- failed to read the data
-
-