UNPKG

vitessce

Version:

This package is the main `vitessce` package on NPM. It exports the `<Vitessce/>` from `@vitessce/all` for backwards compatibility.

27 lines (26 loc) 577 B
import { B as i } from "./index.a9498574.mjs"; import "react"; import "react-dom"; class p extends i { decodeBlock(s) { const r = new DataView(s), n = []; for (let e = 0; e < s.byteLength; ++e) { let t = r.getInt8(e); if (t < 0) { const o = r.getUint8(e + 1); t = -t; for (let a = 0; a <= t; ++a) n.push(o); e += 1; } else { for (let o = 0; o <= t; ++o) n.push(r.getUint8(e + o + 1)); e += t + 1; } } return new Uint8Array(n).buffer; } } export { p as default };