stream.ch

Declarations

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