Skip to content

Core IO

Module: core.io
Source: core/io.zn

StrWriter

String slice writer interface for the buffers


pub fn write_str(*self, value: []const char) void;
pub fn write_str_raw(*self, ptr: [*]const char, len: usize) void;
pub fn write_str_single(*self, value: char) void;

Display

Format macros renderer for structure ({} specifier)


pub fn display[T: StrWriter](*const self, out: *T) void;

Debug

Format macros debugger for structure ({:?} specifier, @dbg(expr) macro)


pub fn debug[T: StrWriter](*const self, out: *T) void;

OutStream

Compiler-reserved output stream


Fields:

// No Fields

Methods:

// No Methods

Interfaces:

  • core.io : StrWriter
// Compiler provided stdout writer function
extern fn __zeen_stdout_write(ptr: [*]const char, len: usize) void;