Glossary Term
ArrayBuffer.prototype.resize()
The resize() method of ArrayBuffer instances resizes the ArrayBuffer to the specified size, in bytes.
The resize() method resizes an ArrayBuffer to the size specified by the newLength parameter, provided that the ArrayBuffer is resizable and the new size is less than or equal to the maxByteLength of the ArrayBuffer. New bytes are initialized to 0.
Note that you can use resize() to shrink as well as grow an ArrayBuffer — it is permissible for newLength to be smaller than the ArrayBuffer’s current byteLength.
Parameters: newLength The new length, in bytes, to resize the ArrayBuffer to.
Syntax example: resize(newLength)
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
