import { encodeKeyInto } from "https://deno.land/x/bencodex@0.2.2/src/encoder.ts";
Encodes a key into the given buffer.
Parameters
key: Key
A key to encode.
optional
options: NonAllocEncodingOptions = [UNSUPPORTED]Encoding options.
Returns
The object which indicates the number of bytes written into the buffer and whether the encoding is complete.