Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SplitterOpts

Hierarchy

  • TransformOptions
    • SplitterOpts

Index

Properties

Optional allowHalfOpen

allowHalfOpen: undefined | false | true

Optional autoDestroy

autoDestroy: undefined | false | true

Optional decodeStrings

decodeStrings: undefined | false | true

Optional defaultEncoding

defaultEncoding: undefined | string

Optional emitClose

emitClose: undefined | false | true

Optional encoding

encoding: undefined | string

Optional highWaterMark

highWaterMark: undefined | number

Optional objectMode

objectMode: undefined | false | true

Optional readableHighWaterMark

readableHighWaterMark: undefined | number

Optional readableObjectMode

readableObjectMode: undefined | false | true

Optional separator

separator: undefined | string

Optional writableCorked

writableCorked: undefined | number

Optional writableHighWaterMark

writableHighWaterMark: undefined | number

Optional writableObjectMode

writableObjectMode: undefined | false | true

Methods

Optional destroy

  • destroy(this: Transform, error: Error | null, callback: (error: Error | null) => void): void
  • Parameters

    • this: Transform
    • error: Error | null
    • callback: (error: Error | null) => void
        • (error: Error | null): void
        • Parameters

          • error: Error | null

          Returns void

    Returns void

Optional final

  • final(this: Transform, callback: (error?: Error | null) => void): void
  • Parameters

    • this: Transform
    • callback: (error?: Error | null) => void
        • (error?: Error | null): void
        • Parameters

          • Optional error: Error | null

          Returns void

    Returns void

Optional flush

  • flush(this: Transform, callback: TransformCallback): void
  • Parameters

    • this: Transform
    • callback: TransformCallback

    Returns void

Optional read

  • read(this: Transform, size: number): void
  • Parameters

    • this: Transform
    • size: number

    Returns void

Optional transform

  • transform(this: Transform, chunk: any, encoding: string, callback: TransformCallback): void
  • Parameters

    • this: Transform
    • chunk: any
    • encoding: string
    • callback: TransformCallback

    Returns void

Optional write

  • write(this: Transform, chunk: any, encoding: string, callback: (error?: Error | null) => void): void
  • Parameters

    • this: Transform
    • chunk: any
    • encoding: string
    • callback: (error?: Error | null) => void
        • (error?: Error | null): void
        • Parameters

          • Optional error: Error | null

          Returns void

    Returns void

Optional writev

  • writev(this: Transform, chunks: Array<{ chunk: any; encoding: string }>, callback: (error?: Error | null) => void): void
  • Parameters

    • this: Transform
    • chunks: Array<{ chunk: any; encoding: string }>
    • callback: (error?: Error | null) => void
        • (error?: Error | null): void
        • Parameters

          • Optional error: Error | null

          Returns void

    Returns void

Generated using TypeDoc