This c'tor copies the contents of the string.
Definition at line 95 of file IOBuffer.h. References mBuffer, mDataChannel, mPosition, and mSize. 00096 { 00097 mSize = s.size(); 00098 mBuffer = new unsigned char [mSize+1]; 00099 std::memcpy(mBuffer, s.c_str(), mSize); 00100 mBuffer[mSize] = 0; 00101 mPosition = 0; 00102 mDataChannel = 0; 00103 }
|