emscripten-core / emscripten-core/emscripten

Is it possible to get a typed_memory_view that is a Uint8ClampedArray?

Open
#12,878 2 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Returning

`emscripten::val(emscripten::typed_memory_view(length, arr));`

results in an `Uint8Array` on the JavaScript side. Is it also possible to get a `Uint8ClampedArray` in a similar way?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.