method SvgCanvas.prototype.encodeimport { SvgCanvas } from "https://deno.land/x/skia_canvas@0.2.0/src/svgcanvas.ts"; encode()Encode and return buffer containing SVG data