BufferedOutputStream
open class BufferedOutputStream(val out: OutputStream, bufferSize: Int = 8192) : OutputStream(source)
The class implements a buffered output stream. By setting up such an output stream, an application can write bytes to the underlying output stream without necessarily causing a call to the underlying system for each byte written.
Since
0.1.0
Parameters
out
the underlying output stream.
bufferSize
the buffer size.
Functions
Link copied to clipboard
Flushes this buffered output stream. This forces any buffered output bytes to be written out to the underlying output stream.
Link copied to clipboard
Writes b.length
bytes from the specified byte array to this buffered output stream.
Writes the specified byte to this buffered output stream.
Writes len
bytes from the specified byte array starting at offset off
to this buffered output stream.