kactoos-jvm / nnl.rocks.kactoos.io / WriterAsOutputStream / <init>
WriterAsOutputStream(wtr:
Writer
, charset:
Charset
= Charsets.UTF_8)
wtr
- Writer
charset
- CharsetWriterAsOutputStream(wtr:
Writer
, charset:
CharSequence
, size:
Int
= 16 shl 10)
WriterAsOutputStream(wtr:
Writer
, charset:
Charset
, size:
Int
)
wtr
- Reader
charset
- Charset
size
- Buffer sizeWriterAsOutputStream(wtr:
Writer
, size:
Int
)
wtr
- Reader
size
- Buffer size
Since 0.13.3
WriterAsOutputStream(writer:
Writer
, decoder:
CharsetDecoder
, size:
Int
, input:
ByteBuffer
= ByteBuffer.allocate(size), output:
CharBuffer
= CharBuffer.allocate(size))
Writer as OutputStream.
This class is for internal use only. Use OutputStreamTo instead.
There is no thread-safety guarantee.
Since 0.13