Duplex class

Duplex streams are streams that implement both the Readable and Writable interfaces.

Implemented types
Implementers
Annotations
  • @JS()
  • @anonymous

Constructors

Duplex()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
readableHighWaterMark → int
read-only, inherited
readableLength → int
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
writableHighWaterMark → int
read-only, inherited
writableLength → int
read-only, inherited

Methods

addListener(dynamic eventName, Function listener) → void
inherited
cork() → void
inherited
destroy([dynamic error]) Writable
inherited
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
end([dynamic data, dynamic encodingOrCallback, void callback()]) → void
inherited
eventNames() → List
inherited
getMaxListeners() → int
inherited
isPaused() → bool
inherited
listenerCount(dynamic eventName) → int
inherited
listeners(dynamic eventName) → List<Function>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
on(dynamic eventName, Function listener) EventEmitter
inherited
once(dynamic eventName, Function listener) EventEmitter
inherited
pause() Readable
inherited
pipe(Writable destination, [dynamic options]) Writable
inherited
prependListener(dynamic eventName, Function listener) EventEmitter
inherited
prependOnceListener(dynamic eventName, Function listener) EventEmitter
inherited
push(dynamic chunk, [dynamic encoding]) → bool
inherited
rawListeners(dynamic eventName) → List<Function>
inherited
read([int size]) → dynamic
inherited
removeAllListeners(dynamic eventName) EventEmitter
inherited
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
resume() Readable
inherited
setDefaultEncoding(String encoding) → void
inherited
setEncoding(String encoding) → void
inherited
setMaxListeners(int value) → void
inherited
toString() → String
Returns a string representation of this object.
inherited
uncork() → void
inherited
unpipe([Writable destination]) → void
inherited
unshift(dynamic chunk) → void
inherited
wrap(dynamic stream) → void
inherited
write(dynamic chunk, [dynamic encodingOrCallback, void callback()]) → dynamic
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited