import { writeBuffer } from "https://deno.land/std@0.161.0/node/internal_binding/node_file.ts";
Write to the given file from the given buffer synchronously.
Implements sync part of WriteBuffer in src/node_file.cc See: https://github.com/nodejs/node/blob/e9ed113/src/node_file.cc#L1818
Parameters
if integer, position to write at in the file. if null, write from the current position