LibWeb/WebIDL: Implement 'write' operation for ArrayBufferView

This commit is contained in:
Shannon Booth 2024-12-23 16:19:17 +13:00 committed by Tim Flynn
commit 3d3c1d8bf7
Notes: github-actions[bot] 2024-12-27 14:57:54 +00:00
2 changed files with 21 additions and 0 deletions

View file

@ -69,6 +69,7 @@ public:
using BufferableObjectBase::is_typed_array_base;
u32 byte_offset() const;
void write(ReadonlyBytes, u32 starting_offset = 0);
};
// https://webidl.spec.whatwg.org/#BufferSource