import { BufWriter } from "https://deno.land/x/deno@v1.0.0/std/io/mod.ts";
return new BufWriter unless writer is BufWriter
import { BufWriter } from "https://deno.land/x/deno@v1.0.0/std/io/mod.ts";
return new BufWriter unless writer is BufWriter