This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -34,9 +34,13 @@ import haxe.extern.EitherType;
@see <https://developer.mozilla.org/en-US/docs/Web/API/BufferSource>
*/
@:forward
abstract BufferSource(ArrayBuffer) to ArrayBuffer from ArrayBuffer {
@:from public static inline function fromBufferView(view:ArrayBufferView) {
return cast view.buffer;
abstract BufferSource(Dynamic) from ArrayBuffer from ArrayBufferView {
public var byteLength(get, never): Int;
@:pure
inline function get_byteLength(): Int {
return this.byteLength;
}
}