Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XDecomposed.mjs

raw
1 import wasm from "./diplomat-wasm.mjs"
2 import * as diplomatRuntime from "./diplomat-runtime.mjs"
3
4 export class ICU4XDecomposed {
5 constructor(underlying) {
6 this.first = String.fromCharCode((new Uint32Array(wasm.memory.buffer, underlying, 1))[0]);
7 this.second = String.fromCharCode((new Uint32Array(wasm.memory.buffer, underlying + 4, 1))[0]);
8 }
9 }