import { writeUInt8 } from "https://deno.land/x/smoldot@light-js-deno-v0.6.32/instance/buffer.d.ts";
Sets the value of a given byte in the buffer.
This function is equivalent to buffer[offset] = value
, except that an exception is thrown
if offset
is out of range.