Namespaces

Functions

fn bitReader(comptime endian: std.builtin.Endian, underlying_stream: anytype) BitReader(endian, @TypeOf(underlying_stream))

No documentation provided.

fn bitWriter(comptime endian: std.builtin.Endian, underlying_stream: anytype) BitWriter(endian, @TypeOf(underlying_stream))

No documentation provided.

fn bufferedReader(reader: anytype) BufferedReader(4096, @TypeOf(reader))

No documentation provided.

fn bufferedReaderSize(comptime size: usize, reader: anytype) BufferedReader(size, @TypeOf(reader))

No documentation provided.

fn bufferedWriter(underlying_stream: anytype) BufferedWriter(4096, @TypeOf(underlying_stream))

No documentation provided.

fn cWriter(c_file: *std.c.FILE) CWriter

No documentation provided.

fn changeDetectionStream(source: []const u8, underlying_writer: anytype) ChangeDetectionStream(@TypeOf(underlying_writer))

No documentation provided.

fn countingReader(reader: anytype) CountingReader(@TypeOf(reader))

No documentation provided.

fn countingWriter(child_stream: anytype) CountingWriter(@TypeOf(child_stream))

No documentation provided.

fn findByteWriter(byte: u8, underlying_writer: anytype) FindByteWriter(@TypeOf(underlying_writer))

No documentation provided.

fn fixedBufferStream(buffer: anytype) FixedBufferStream(Slice(@TypeOf(buffer)))

No documentation provided.

fn getStdErr() File

This returns a File that is configured to block with every write, in order to…

This returns a File that is configured to block with every write, in order to facilitate better debugging. This can be changed by modifying the intended_io_mode field.

fn getStdIn() File

TODO: async stdin on windows without a dedicated thread. https://github.com/zig…

TODO: async stdin on windows without a dedicated thread. https://github.com/ziglang/zig/pull/4816#issuecomment-604521023

fn getStdOut() File

TODO: async stdout on windows without a dedicated thread. https://github.com/zi…

TODO: async stdout on windows without a dedicated thread. https://github.com/ziglang/zig/pull/4816#issuecomment-604521023

fn limitedReader(inner_reader: anytype, bytes_left: u64) LimitedReader(@TypeOf(inner_reader))

No documentation provided.

fn multiWriter(streams: anytype) MultiWriter(@TypeOf(streams))

No documentation provided.

fn peekStream(comptime lookahead: comptime_int, underlying_stream: anytype) PeekStream(.{ .Static = lookahead }, @TypeOf(underlying_stream))

No documentation provided.

fn poll(allocator: std.mem.Allocator, comptime StreamEnum: type, files: PollFiles(StreamEnum)) Poller(StreamEnum)

No documentation provided.

Values

CWriter
undefined
ModeOverride
type

This is an enum value to use for I/O mode at runtime, since it takes up zero byt…

PollFifo
undefined
default_mode
ModeOverride
is_async
bool
null_writer
NullWriter

A Writer that doesn’t write to anything.