import { $ } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { EncodeBuffer } = $;
Finishes the current array, and returns a Uint8Array containing everything written. The EncodeBuffer is left in an undefined state, and should not be used afterwards. Throws if asynchronous writes are still pending.