ByteLengthQueueingStrategy

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The ByteLengthQueueingStrategy interface of the the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.

Constructor

ByteLengthQueueingStrategy()
Creates a new ByteLengthQueueingStrategy object instance.

Properties

None.

Methods

ByteLengthQueueingStrategy.size()
Returns the given chunk’s byteLength property.

Examples

// TBD

Specifications

Specification Status Comment
Streams
The definition of 'ByteLengthQueueingStrategy' in that specification.
Living Standard Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 58 No support ? 45 ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 58 58 No support ? 45 ?

Document Tags and Contributors

 Contributors to this page: chrisdavidmills
 Last updated by: chrisdavidmills,