Fields
optionalwritev:Null<(chunks:Array<Chunk>, callback:Null<Error> ‑> Void) ‑> Void>
writev
optionalwrite:Null<(chunk:Dynamic, encoding:String, callback:Null<Error> ‑> Void) ‑> Void>
write
optionalwritableObjectMode:Null<Bool>
optionalwritableHighWaterMark:Null<Int>
Sets highWaterMark for the writable side of the stream. Has no effect if highWaterMark is provided.
optionalreadableObjectMode:Null<Bool>
optionalreadableHighWaterMark:Null<Int>
Sets highWaterMark for the readable side of the stream. Has no effect if highWaterMark is provided.
optionalobjectMode:Null<Bool>
optionalhighWaterMark:Null<Int>
The maximum number of bytes to store in the internal buffer before ceasing to read from the underlying resource.
Default: 16384 (16kb), or 16 for objectMode streams.
optionalfinal_:Null<(error:Null<Error>) ‑> Void>
final
optionalencoding:Null<String>
If specified, then buffers will be decoded to strings using the specified encoding.
Default: null.
optionalemitClose:Null<Bool>
Whether or not the stream should emit 'close' after it has been destroyed.
Default: true.
optionaldestroy:Null<(err:Null<Error>, callback:Null<Error> ‑> Void) ‑> Void>
Implementation for the stream._destroy() method.
optionaldefaultEncoding:Null<String>
defaultEncoding 'utf8'.
optionaldecodeStrings:Null<Bool>
decodeStrings strings passed to stream.write() to Buffers (with the encoding specified in the stream.write() call) before passing them to stream._write().
Other types of data are not converted (i.e. Buffers are not decoded into strings). Setting to false will prevent strings from being converted.
Default: true.
optionalautoDestroy:Null<Bool>
Whether this stream should automatically call .destroy() on itself after ending.
Default: false.