import { Message } from "https://deno.land/x/capnp_ts@0.1.0/mod.ts";
Like toArrayBuffer()
, but also applies the packing algorithm to the output. This is typically what you want to
use if you're sending the message over a network link or other slow I/O interface where size matters.