Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Util::IOBuffer::SetBuffer ( unsigned char *  buf,
PositionType  size 
) [inline]

after this call the IOBuffer owns the memory pointed to by buffer, no copy is made Sander and I (Michiel) already talked about how this should probably be only a constructor but I need it now, and we'll redisign later ;-)

Definition at line 675 of file IOBuffer.h.

References mBuffer, and mSize.

Referenced by Impala::Util::Broadcast(), and Impala::Util::IOBufferFile::IOBufferFile().

00676     {
00677         mBuffer = buf;
00678         mSize = size;
00679     }


Generated on Thu Jan 13 09:24:15 2011 for ImpalaSrc by  doxygen 1.5.1