import { compactWidth } from "https://deno.land/x/willow_utils@0.8.0/mod.ts";
Returns the number of octets needed to store a number, along the lines of 8-bit, 16-bit, 32-bit, or 64-bit unsigned integers.
https://willowprotocol.org/specs/encodings/index.html#compact_width