(2) It's probably more idiomatic to use `void` for buffers of binary data, although I imagine you may have some reasons for using `ubyte` ... ?
curious about this. https://dlang.org/phobos/std_outbuffer.html defines:
``` pure nothrow @safe ubyte toBytes(); pure nothrow @safe void write(const(ubyte) bytes); ```
so which is standard?