Dart API Referencedart:htmlArrayBuffer

ArrayBuffer Interface

The ArrayBuffer is a data type that is used to represent a generic, fixed-length binary data buffer. You can't directly manipulate the contents of an ArrayBuffer; instead, you create an ArrayBufferView object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.

Constructors

Code new ArrayBuffer(int length) #

ArrayBuffer(int length);

Methods

Code ArrayBuffer slice(int begin, [int end]) #

ArrayBuffer slice(int begin, [int end]);

Fields

Code final int byteLength #

The size, in bytes, of the array. This is established when the array is constructed and cannot be changed. Read only.
final int byteLength;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.