function compactFromU8aimport { compactFromU8a } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/compact/fromU8a.ts"; compactFromU8a(input: U8aLike): [number, BN]Examples import { compactFromU8a } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts'; const [offset, length] = compactFromU8a(new Uint8Array([254, 255, 3, 0])); console.log('value offset=', offset, 'length=', length); // 4, 0xffff Parametersinput: U8aLikeReturns[number, BN]