zig/std/special
Andrew Kelley 4543413491 std.io: introduce buffered I/O and change API
I started working on #465 and made some corresponding std.io
API changes.

New structs:
 * std.io.FileInStream
 * std.io.FileOutStream
 * std.io.BufferedOutStream
 * std.io.BufferedInStream

Removed:
 * std.io.File.in_stream
 * std.io.File.out_stream

Now instead of &file.out_stream or &file.in_stream to get access to
the stream API for a file, you get it like this:

var file_in_stream = io.FileInStream.init(&file);
const in_stream = &file_in_stream.stream;

var file_out_stream = io.FileOutStream.init(&file);
const out_stream = &file_out_stream.stream;

This is evidence that we might not need any OOP features -
See #130.
2017-11-07 03:22:27 -05:00
..
compiler_rt fix missing compiler_rt in release modes 2017-10-24 21:31:47 -04:00
bootstrap.zig implement environment variables for windows 2017-10-15 01:23:10 -04:00
bootstrap_lib.zig ability to make a DLL 2017-10-16 01:14:28 -04:00
build_file_template.zig std: add ChildProcess.kill 2017-09-06 18:30:45 -04:00
build_runner.zig std.io: introduce buffered I/O and change API 2017-11-07 03:22:27 -05:00
builtin.zig remove zigrt 2017-09-30 20:21:57 -04:00
panic.zig remove zigrt 2017-09-30 20:21:57 -04:00
test_runner.zig breaking change to std.io API 2017-10-31 04:47:55 -04:00