src/corelib/io/qdatastream.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
   154     read, then that number of bytes is read into the preallocated
   154     read, then that number of bytes is read into the preallocated
   155     \c{char *}; writeBytes() writes a quint32 containing the length of the
   155     \c{char *}; writeBytes() writes a quint32 containing the length of the
   156     data, followed by the data. Note that any encoding/decoding of
   156     data, followed by the data. Note that any encoding/decoding of
   157     the data (apart from the length quint32) must be done by you.
   157     the data (apart from the length quint32) must be done by you.
   158 
   158 
       
   159     \section1 Reading and writing Qt collection classes
       
   160 
       
   161     The Qt container classes can also be serialized to a QDataStream.
       
   162     These include QList, QLinkedList, QVector, QSet, QHash, and QMap.
       
   163     The stream operators are declared as non-members of the classes.
       
   164 
   159     \target Serializing Qt Classes
   165     \target Serializing Qt Classes
   160     \section1 Reading and writing other Qt classes.
   166     \section1 Reading and writing other Qt classes.
   161 
   167 
   162     In addition to the overloaded stream operators documented here,
   168     In addition to the overloaded stream operators documented here,
   163     any Qt classes that you might want to serialize to a QDataStream
   169     any Qt classes that you might want to serialize to a QDataStream