CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cxEncodedPackage.cpp
Go to the documentation of this file.
1 #include "cxEncodedPackage.h"
2 #include "cxLogger.h"
3 
4 namespace cx {
5 
6 EncodedPackage::EncodedPackage(char *pointer, int size) :
7  mData(new ByteArray())
8 {
9 // CX_LOG_DEBUG() << "Preparing pack, pointer: " << pointer << " size: " << size;
10  mData->pointer = pointer;
11  mData->size = size;
12 }
13 
14 } //namespace cx
15 
EncodedPackage(char *pointer=NULL, int size=0)