BufferSource
BufferSource
is a typedef used to represent objects that are either themselves an ArrayBuffer
, or which are a TypedArray
providing an ArrayBufferView
.
This is a helper type to simplify the specification. It isn't an interface and there are no objects implementing it.
Specifications
Specification | Status | Comment |
---|---|---|
Web IDL The definition of 'BufferSource' in that specification. | Candidate Recommendation | Initial definition. |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/BufferSource