path: root/mkspecs
diff options
authorMorten Johan Sørvig <>2021-11-09 13:14:41 +0100
committerMorten Johan Sørvig <>2021-11-27 01:13:12 +0000
commit24134d519342fdc5d05d3fe0a4b088e8ebc41d29 (patch)
tree39b7899fcdb6a19f2db9aa3fb62e75ca0163861f /mkspecs
parenta0f9aef11bd3a692f9fa9c6069ca27200ef82893 (diff)
wasm: Move Blob creation code to qstdweb
Add Uint8Array::copyFrom() and Blob::copyFrom(), which constructs JS data containers with content copied from the C heap. These should not be confused with e.g. the Uint8Array(buffer, size) constructor, which creates a Uint8Array which references content on the heap, without making a copy. Change-Id: Id7d25d8044ee3914d74698e5a15c93226568eaf3 Reviewed-by: David Skoland <> Reviewed-by: Lorn Potter <>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions