Class BinaryFileReader
java.lang.Object
com.scriptbasic.utility.functions.file.BinaryFileReader
- All Implemented Interfaces:
NoAccess,FileHandler,java.lang.AutoCloseable
public class BinaryFileReader extends java.lang.Object implements FileHandler, java.lang.AutoCloseable
-
Constructor Summary
Constructors Constructor Description BinaryFileReader(java.io.InputStream stream) -
Method Summary
-
Constructor Details
-
BinaryFileReader
public BinaryFileReader(java.io.InputStream stream)
-
-
Method Details
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceFileHandler- Throws:
java.io.IOException
-
read
public byte[] read(int len) throws java.io.IOException- Throws:
java.io.IOException
-