The object is constructed using a typed byte stream. This stream is an instance of a class derived from class TypeIO. This makes it possible to store the data in any format (e.g. CanonicalIO or RawIO). Class CanonicalIO makes it possible to store the data in a canonical (machine-independent) format, so it can be read on any machine and operating system. The canonical format is big-endian IEEE, where a (unsigned) long is stored as 8 bytes. This means that on common 32-bit big-endian machines like SUN and HP only longs have to be converted and that CanonicalIO is as fast as RawIO. Class RawIO stores the data in native format, so the IO-process is faster on especially little-endian machines (PC, DEC-alpha). Note that RawIO can also be used to read bytes and interprete or convert them thereafter (e.g. using the conversion functions in the Conversion Conversion framework.
In its turn TypeIO uses an instance of a class derived from class ByteIO. This makes it possible to use any output stream (e.g. file, memory).
This function sets the position on the given offset. The seek option defines from which position the seek is done.
Is the SinkSource readable?
Is the SinkSource writable?
Is the SinkSource seekable?
Is the BaseSinkSource unusable?
Construct using the given TypeIO. If takeOver is true the this class will delete the supplied pointer. Otherwise the caller is responsible for this.
The copy constructor uses reference semantics
The assignment operator uses reference semantics