Options
All
  • Public
  • Public/Protected
  • All
Menu

A queuing strategy that counts the number of bytes in each chunk.

Hierarchy

  • ByteLengthQueuingStrategy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly highWaterMark

highWaterMark: number

Returns the high water mark provided to the constructor.

Readonly size

size: (chunk: ArrayBufferView) => number

Measures the size of chunk by returning the value of its byteLength property.

Type declaration

    • (chunk: ArrayBufferView): number
    • Measures the size of chunk by returning the value of its byteLength property.

      Parameters

      • chunk: ArrayBufferView

      Returns number

Generated using TypeDoc