Interface IOStream

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public close()

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public isReadable(): boolean

Returns

boolean

public isWriteable(): boolean

Returns

boolean

public read(buffer: Buffer, offset?: number, length?: number): number

Parameters

  • buffer: Buffer
  • offset?: number optional
  • length?: number optional

Returns

number

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public write(buffer: Buffer, offset?: number, length?: number): number

Parameters

  • buffer: Buffer
  • offset?: number optional
  • length?: number optional

Returns

number