C new PassThrough() void

Extends

Properties

P readable: boolean

Type:
  • boolean
Inherited From:

P writable: boolean

Type:
  • boolean
Inherited From:

Methods

M _flush(callback: function) void

Parameters:
Name Type
callback function
Inherited From:
Returns: { void }

M _transform(chunk: Buffer, encoding: string, callback: function) void

Parameters:
Name Type
chunk Buffer
encoding string
callback function
Inherited From:
Returns: { void }

M _transform(chunk: string, encoding: string, callback: function) void

Parameters:
Name Type
chunk string
encoding string
callback function
Inherited From:
Returns: { void }

M end() void

Inherited From:
Returns: { void }

M end(buffer: Buffer, cb: function) void

Parameters:
Name Type Argument
buffer Buffer
cb function <optional>
Inherited From:
Returns: { void }

M end(str: string, cb: function) void

Parameters:
Name Type Argument
str string
cb function <optional>
Inherited From:
Returns: { void }

M end(str: string, encoding: string, cb: function) void

Parameters:
Name Type Argument
str string
encoding string <optional>
cb function <optional>
Inherited From:
Returns: { void }

M pause() void

Inherited From:
Returns: { void }

M pipe<T>(destination: T, options: stream.Transform.PipeOptionsType) T

Parameters:
Name Type Argument
destination T
options stream.Transform.PipeOptionsType <optional>
Inherited From:
Returns: { T }

M push(chunk: any, encoding: string) boolean

Parameters:
Name Type Argument
chunk any
encoding string <optional>
Inherited From:
Returns: { boolean }

M read(size: number) any

Parameters:
Name Type Argument
size number <optional>
Inherited From:
Returns: { any }

M resume() void

Inherited From:
Returns: { void }

M setEncoding(encoding: string) void

Parameters:
Name Type
encoding string
Inherited From:
Returns: { void }

M unpipe<T>(destination: T) void

Parameters:
Name Type Argument
destination T <optional>
Inherited From:
Returns: { void }

M unshift(chunk: string) void

Parameters:
Name Type
chunk string
Inherited From:
Returns: { void }

M unshift(chunk: Buffer) void

Parameters:
Name Type
chunk Buffer
Inherited From:
Returns: { void }
Parameters:
Name Type
oldStream NodeJS.ReadableStream
Inherited From:
Returns: { NodeJS.ReadableStream }

M write(buffer: Buffer, cb: function) boolean

Parameters:
Name Type Argument
buffer Buffer
cb function <optional>
Inherited From:
Returns: { boolean }

M write(str: string, cb: function) boolean

Parameters:
Name Type Argument
str string
cb function <optional>
Inherited From:
Returns: { boolean }

M write(str: string, encoding: string, cb: function) boolean

Parameters:
Name Type Argument
str string
encoding string <optional>
cb function <optional>
Inherited From:
Returns: { boolean }