Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ByteLengthQueuingStrategy

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

Hierarchy

  • ByteLengthQueuingStrategy

Implements

Index

Constructors

Accessors

Constructors

constructor

Accessors

highWaterMark

  • get highWaterMark(): number

size

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

    Returns (chunk: ArrayBufferView) => number

      • (chunk: ArrayBufferView): number
      • Parameters

        • chunk: ArrayBufferView

        Returns number

Generated using TypeDoc