Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 464 of file IOBuffer.h.

References mBuffer, and mSize.

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

00465     {
00466         mBuffer = buf;
00467         mSize = size;
00468     }


Generated on Fri Mar 19 11:40:19 2010 for ImpalaSrc by  doxygen 1.5.1