Wei,

BufferedTransformation::CreatePutSpace(), implemented e.g. in ByteQueue,
returns a byte pointer. How, if at all, is this byte pointer supposed to
be used? The way I imagine CreatePutSpace() to work, I would simply
call:

  bt.CreatePutSpace(iNeedThisMuch);
  bt.Put(someData, thisMuch);

What is the role of the byte pointer returned by CreatePutSpace() in
this? Can the application write to it directly? If so, can it then call
Put() and specify that same pointer as input?

Thanks,

denis

Reply via email to