binostream provides an output-only binary stream.
void writeInt(Int val, unsigned int size);
size(in bytes) to the stream.
void writeFloat(Float f, FType ft);
ftto the stream. Refer to the list of public types of the
binioclass for information about what floating-point formats are supported.
If the requested floating-point type is not supported by your
writeFloat() tries to convert it. This is not
always possible and an
Unsupported error is issued if the
conversion fails and nothing is written to the stream in this case.
void writeString(const char *str);
void writeString(const std::string &str);
stringobjects are supported. The only argument is either a pointer to the ASCIIZ string buffer, or the
stringobject, containing the string to write.
virtual void putByte(Byte)