Type Alias BufferSource

BufferSource: ArrayBufferView | ArrayBuffer

Helper type that represents either an ArrayBuffer or an ArrayBufferView. Inspired by https://webidl.spec.whatwg.org/#common-BufferSource.