import { writeSync } from "https://deno.land/std@0.132.0/node/_fs/_fs_write.d.ts";
If buffer
is a plain object, it must have an own (not inherited) toString
function property.
For detailed information, see the documentation of the asynchronous version of this API: write.
Synchronously writes string
to the file referenced by the supplied file descriptor, returning the number of bytes written.
Parameters
The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
optional
encoding: BufferEncoding | nullThe expected string encoding.