pichunkstream.cpp documentation
This commit is contained in:
@@ -41,13 +41,22 @@
|
|||||||
* but you should definitely know type of this value. You can read from byte array
|
* but you should definitely know type of this value. You can read from byte array
|
||||||
* while \a atEnd() if false.
|
* while \a atEnd() if false.
|
||||||
*
|
*
|
||||||
* \section PIChunkStream_ex0 Example
|
* \section PIChunkStream_sec2 Examples
|
||||||
* Prepare your structs to work with %PIChunkStream
|
*
|
||||||
|
* Using simple operator and cascade serialization:
|
||||||
|
*
|
||||||
|
* Prepare your structs to work with %PIChunkStream:
|
||||||
* \snippet pichunkstream.cpp struct
|
* \snippet pichunkstream.cpp struct
|
||||||
* Writing to %PIChunkStream
|
* Old-style writing to %PIChunkStream:
|
||||||
* \snippet pichunkstream.cpp write
|
* \snippet pichunkstream.cpp write
|
||||||
* Reading from %PIChunkStream
|
* Fastest reading from %PIChunkStream:
|
||||||
* \snippet pichunkstream.cpp read
|
* \snippet pichunkstream.cpp read
|
||||||
|
*
|
||||||
|
* And next code show how to serialize your struct with %PIChunkStream:
|
||||||
|
* \snippet pichunkstream.cpp write_new
|
||||||
|
*
|
||||||
|
* ... and deserialize:
|
||||||
|
* \snippet pichunkstream.cpp read_new
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user