import { compactStripLength } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";
Examples
import { compactStripLength } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';
console.log(compactStripLength(new Uint8Array([2 << 2, 0xde, 0xad]))); // [2, Uint8Array[0xde, 0xad]]