Class BinaryFileWriter
java.lang.Object
com.scriptbasic.utility.functions.file.BinaryFileWriter
- All Implemented Interfaces:
NoAccess,FileHandler,java.lang.AutoCloseable
public class BinaryFileWriter extends java.lang.Object implements FileHandler, java.lang.AutoCloseable
-
Constructor Summary
Constructors Constructor Description BinaryFileWriter(java.io.BufferedOutputStream stream) -
Method Summary
-
Constructor Details
-
BinaryFileWriter
public BinaryFileWriter(java.io.BufferedOutputStream 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
-
write
public void write(byte[] buffer) throws java.io.IOException- Throws:
java.io.IOException
-