The string stream classes provide a means of turning arbitrary strings
(or "blocks") in memory into a binary stream, similary to what
strstream does in the iostream library.
Unlike strstream from the iostream library, these streams
do not support automatic enlarging of the memory area. If the
user tries to write beyond the end of the stream, nothing is actually
written and an Eof error is issued.
binstr.hbinsbase(void *str, unsigned long len)
binisstream(void *str, unsigned long len)
binosstream(void *str, unsigned long len)
binsstream(void *str, unsigned long len)
str is a pointer to a
previously initialized data string in memory. len specifies the
length in bytes of the string.
~binsbase()
~binisstream()
~binosstream()
~binsstream()
virtual void seek(long pos, Offset offs = Set)
virtual long pos()
binio. Refer to the reference of that class for more
information.
binsbase:Byte *data
Byte *spos
long length