The Uint8Arrays are typed JsAny: this module does not depend on kotlinx-browser, which declares org.khronos.webgl for Kotlin/Wasm (see Values.wasmJs.kt for the conversions).
Uint8Array
org.khronos.webgl
Values.wasmJs.kt
The BSON binary subtype, 0 for plain bytes.