import { estimateKeySize } from "https://deno.land/x/bencodex@0.2.2/src/encoder.ts";
Estimates the byte size of the given key in Bencodex. It enables you to determine the size of a Bencodex data without actually encoding it.
Parameters
key: Key
A Bencodex dictionary key to estimate the size.
optional
options: SizeEstimationOptions = [UNSUPPORTED]Options for size estimation.