On Sun, Aug 31, 2008 at 11:21 PM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On sön, 2008-08-31 at 14:07 +0200, Kinkie wrote: > >> Now I'm a bit at a loss as to how to best integrate with iostream. > > For what? > > We need to be able to dump the contents in debugs which is easily > implemented as an << operator using the already defined interface. What > other uses of iostream do we have in relation to KBuf?
My target would be a stream-based alternative to appendf(). > also missing a length query method it seems.. Heh, you're right.. > Another minor note: To follow normal coding conventions size_t shold be > used for buffer sizes, not hardcoded type sizes (u_int32_t).. Ok, I'll change that. -- /kinkie
