This class defines an abstract interface for output streams.
Definition: QC_OutputStream.dox.h:18
This class defines a stream writer for output streams.
Definition: QC_StreamWriter.dox.h:19
nothing write(string str)
Writes a String to the output stream.
nothing writei4(int i)
Writes a 4-byte (32 bit) integer to the output stream in binary big-endian format.
nothing writei2(int s)
Writes a 2-byte (16 bit) integer to the output stream in binary big-endian format.
string getEncoding()
Returns the character encoding for the StreamWriter.
nothing f_printf(string fmt,...)
Writes a formatted string with hard field widths to an output stream; string data is converted to the...
nothing writei8(int i)
Writes an 8-byte (64 bit) integer to the output stream in binary big-endian format.
OutputStream getOutputStream()
Returns the OutputStream for the StreamWriter.
nothing writei8LSB(int i)
Writes an 8-byte (64 bit) integer to the output stream in binary little-endian format.
nothing writei1(int c)
Writes a 1-byte signed integer to the output stream.
nothing print(string str)
Writes string data to an output stream; string data is converted to the StreamWriter's character enco...
nothing printf(string fmt,...)
Writes a formatted string with soft field widths to an output stream; string data is converted to the...
nothing write(binary b)
Writes a Binary to the output stream.
nothing vprintf(string fmt, any fmt_args)
Writes a formatted string with soft field widths to an output stream, where the second argument is th...
nothing writei4LSB(int i)
Writes a 4-byte (32 bit) integer to the output stream in binary little-endian format.
nothing writei2LSB(int s)
Writes a 2-byte (16 bit) integer to the output stream in binary little-endian format.
constructor(Qore::OutputStream os, *string encoding)
Creates the StreamWriter for writing data to the given OutputStream.
nothing f_vprintf(string fmt, any fmt_args)
Writes a formatted string with hard field widths to an output stream, where the second argument is th...
binary binary()
Always returns an empty binary object (of zero length)
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2