Class Binary

Hierarchy (view full)

Constructors

  • Parameters

    • Optional options: EventEmitterOptions

    Returns Binary

Properties

HEADER_SIZE_MAX: 100 = 100
HEADER_SIZE_V1: 20 = 20
buffer: Buffer = ...

Methods

  • Parameters

    • event: "entry"
    • listener: ((entry) => void)

    Returns this

  • Parameters

    • event: "error"
    • listener: ((err) => void)
        • (err): void
        • Parameters

          • err: Error

          Returns void

    Returns this

  • Parameters

    • event: "drain" | "wait"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns this