PIP 5.5.3
Platform-Independent Primitives
Public Member Functions | List of all members
PIMemoryBlock Struct Reference

Help struct to store/restore custom blocks of data to/from PIBinaryStream. More...

#include <pimemoryblock.h>

Public Member Functions

 PIMemoryBlock ()
 Constructs data block.
 
 PIMemoryBlock (const void *data_, const int size_)
 Constructs data block.
 
void * data ()
 Pointer to data.
 
const void * data () const
 Pointer to data.
 
int size () const
 Size of data in bytes.
 
bool isNull () const
 Returns if this block points to nothing.
 

Detailed Description

Help struct to store/restore custom blocks of data to/from PIBinaryStream.