BufferedOutputStream

constructor(out: OutputStream)

Creates a new buffered output stream to write data to the specified underlying output stream.

Parameters

out

the underlying output stream.


constructor(out: OutputStream, size: Int)

Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.

Parameters

out

the underlying output stream.

size

the buffer size.

Throws