https://ziglang.org/documentation/master/#memset - `@memset(dest, elem) void` https://ziglang.org/documentation/master/std/#std.mem.zeroes - `pub fn zeroes(comptime T: type) T` https://ziglang.org/documentation/master/std/#std.mem.zeroInit - `pub fn zeroInit(comptime T: type, init: anytype) T` https://ziglang.org/documentation/master/std/#std.io.fixed_buffer_stream.FixedBufferStream - `pub fn seekableStream(self: *Self) SeekableStream` - `pub fn reader(self: *Self) Reader` - `pub fn writer(self: *Self) Writer` https://ziglang.org/documentation/master/std/#std.io.SeekableStream https://ziglang.org/documentation/master/std/#src/std/io/seekable_stream.zig https://ziglang.org/documentation/master/std/#std.io.Reader https://ziglang.org/documentation/master/std/#std.io.Writer https://ziglang.org/documentation/master/std/#std.io.GenericReader https://ziglang.org/documentation/master/std/#std.io.GenericWriter note: - `std.io.Reader == std.io.GenericReader` - `std.io.Writer == std.io.GenericWriter` https://ziglang.org/documentation/master/std/#std.io.BufferedReader https://ziglang.org/documentation/master/std/#std.io.BufferedWriter https://ziglang.org/documentation/master/std/#src/std/io.zig - `GenericReader` == `Reader` - `GenericWriter` == `Writer` https://ziglang.org/documentation/master/std/#src/std/io/Reader.zig - `AnyReader` https://ziglang.org/documentation/master/std/#src/std/io/Writer.zig - `AnyWriter` https://ziglang.org/documentation/master/std/#src/std/io/fixed_buffer_stream.zig ```zig pub fn GenericReader( comptime Context: type, comptime ReadError: type, /// Returns the number of bytes read. It may be less than buffer.len. /// If the number of bytes read is 0, it means end of stream. /// End of stream is not an error condition. comptime readFn: fn (context: Context, buffer: []u8) ReadError!usize, ) type ; pub fn GenericWriter( comptime Context: type, comptime WriteError: type, comptime writeFn: fn (context: Context, bytes: []const u8) WriteError!usize, ) type ; ```