![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Memory block helper struct for data storage and binary stream operations The PIMemoryBlock struct provides a lightweight wrapper to store and restore custom blocks of data to/from PIBinaryStream. It holds a pointer to data and its size in bytes. More...
Classes | |
| struct | PIMemoryBlock |
| Helper struct to store and restore custom blocks of data to/from PIBinaryStream. More... | |
Functions | |
| template<typename T > | |
| PIMemoryBlock | createMemoryBlock (const T *ptr) |
| Creates PIMemoryBlock for object pointed by "ptr". | |
Memory block helper struct for data storage and binary stream operations The PIMemoryBlock struct provides a lightweight wrapper to store and restore custom blocks of data to/from PIBinaryStream. It holds a pointer to data and its size in bytes.