Fields
optionalwritev:Null<(chunks:Array<Chunk>, callback:Null<Error> ‑> Void) ‑> Void>
writev
optionalwrite:Null<(chunk:Dynamic, encoding:String, callback:Null<Error> ‑> Void) ‑> Void>
write
optionalobjectMode:Null<Bool>
objectMode
Buffer
or Uint8Array
if supported by the stream implementation.
Default: false
.
optionalhighWaterMark:Null<Int>
highWaterMark
false
. Default: 16384
(16kb), or 16 for objectMode
streams.
optionalfinal_:Null<(error:Null<Error>) ‑> Void>
final
optionalemitClose:Null<Bool>
emitClose
'close'
after it has been destroyed.
Default: true
.
optionaldestroy:Null<(error:Null<Error>, callback:Null<Error> ‑> Void) ‑> Void>
destroy
optionaldefaultEncoding:Null<String>
defaultEncoding
'utf8'
.
optionaldecodeStrings:Null<Bool>
decodeStrings
string
s passed to stream.write() to Buffer
s (with the encoding specified in the stream.write() call) before passing them to stream._write().
Other types of data are not converted (i.e. Buffer
s are not decoded into string
s). Setting to false will prevent strings from being converted.
Default: true
.
optionalautoDestroy:Null<Bool>
autoDestroy