stream.ch

Declarations

Public Only
Publicinterface Stream
interface Stream
Publicfunction writeStr
func writeStr(self : &Stream, value : *char, length : u64) : void
Publicfunction writeStrNoLen
func writeStrNoLen(self : &Stream, value : *char) : void
Publicfunction writeI8
func writeI8(self : &Stream, value : i8) : void
Publicfunction writeI16
func writeI16(self : &Stream, value : i16) : void
Publicfunction writeI32
func writeI32(self : &Stream, value : i32) : void
Publicfunction writeI64
func writeI64(self : &Stream, value : i64) : void
Publicfunction writeU8
func writeU8(self : &Stream, value : u8) : void
Publicfunction writeU16
func writeU16(self : &Stream, value : u16) : void
Publicfunction writeU32
func writeU32(self : &Stream, value : u32) : void
Publicfunction writeU64
func writeU64(self : &Stream, value : u64) : void
Publicfunction writeChar
func writeChar(self : &Stream, value : char) : void
Publicfunction writeUChar
func writeUChar(self : &Stream, value : uchar) : void
Publicfunction writeShort
func writeShort(self : &Stream, value : short) : void
Publicfunction writeUShort
func writeUShort(self : &Stream, value : ushort) : void
Publicfunction writeInt
func writeInt(self : &Stream, value : int) : void
Publicfunction writeUInt
func writeUInt(self : &Stream, value : uint) : void
Publicfunction writeLong
func writeLong(self : &Stream, value : long) : void
Publicfunction writeULong
func writeULong(self : &Stream, value : ulong) : void
Publicfunction writeLongLong
func writeLongLong(self : &Stream, value : longlong) : void
Publicfunction writeULongLong
func writeULongLong(self : &Stream, value : ulonglong) : void
Publicfunction writeFloat
func writeFloat(self : &Stream, value : float) : void
Publicfunction writeDouble
func writeDouble(self : &Stream, value : double) : void
Publicstruct CommandLineStream
struct CommandLineStream : Stream
Publicfunction u64_to_chars
func u64_to_chars(self : &CommandLineStream, out_buf : *char, value : u64) : size_t
--- helpers --------------------------------------------------------
Publicfunction i64_to_chars
func i64_to_chars(self : &CommandLineStream, out_buf : *char, value : i64) : size_t
convert signed 64-bit to ASCII in out_buf, return length written
Publicfunction double_to_chars
func double_to_chars(self : &CommandLineStream, out_buf : *char, value : double, precision : int) : size_t
convert double to ASCII into out_buf, return length written
Publicfunction float_to_chars
func float_to_chars(self : &CommandLineStream, out_buf : *char, value : float, precision : int) : size_t
Publicfunction writeI8
func writeI8(self : &CommandLineStream, value : i8) : void
--- Stream methods -----------------------------------------------
Publicfunction writeI16
func writeI16(self : &CommandLineStream, value : i16) : void
Publicfunction writeI32
func writeI32(self : &CommandLineStream, value : i32) : void
Publicfunction writeI64
func writeI64(self : &CommandLineStream, value : i64) : void
Publicfunction writeU8
func writeU8(self : &CommandLineStream, value : u8) : void
Publicfunction writeU16
func writeU16(self : &CommandLineStream, value : u16) : void
Publicfunction writeU32
func writeU32(self : &CommandLineStream, value : u32) : void
Publicfunction writeU64
func writeU64(self : &CommandLineStream, value : u64) : void
Publicfunction writeStr
func writeStr(self : &CommandLineStream, value : *char, length : u64) : void
Publicfunction writeStrNoLen
func writeStrNoLen(self : &CommandLineStream, value : *char) : void
Publicfunction writeChar
func writeChar(self : &CommandLineStream, value : char) : void
Publicfunction writeUChar
func writeUChar(self : &CommandLineStream, value : uchar) : void
Publicfunction writeShort
func writeShort(self : &CommandLineStream, value : short) : void
Publicfunction writeUShort
func writeUShort(self : &CommandLineStream, value : ushort) : void
Publicfunction writeInt
func writeInt(self : &CommandLineStream, value : int) : void
Publicfunction writeUInt
func writeUInt(self : &CommandLineStream, value : uint) : void
Publicfunction writeLong
func writeLong(self : &CommandLineStream, value : long) : void
Publicfunction writeULong
func writeULong(self : &CommandLineStream, value : ulong) : void
Publicfunction writeLongLong
func writeLongLong(self : &CommandLineStream, value : longlong) : void
Publicfunction writeULongLong
func writeULongLong(self : &CommandLineStream, value : ulonglong) : void
Publicfunction writeFloat
func writeFloat(self : &CommandLineStream, value : float) : void
Publicfunction writeDouble
func writeDouble(self : &CommandLineStream, value : double) : void
Publicfunction print
func print(expr : unknown) : any
Publicfunction println
func println(expr : unknown) : any