On Mon, Feb 04, 2002 at 09:05:46PM +0100, Oskar Sandberg wrote: > On Mon, Feb 04, 2002 at 11:59:28AM -0500, Tavin Cole wrote: > <> > > But the way I use Bucket.size(), the value I want is the total buffer > > size (i.e. after it's filled). I don't see why you wouldn't want it > > that way. If you've partially filled it and you want to know how much, > > count the bytes yourself. > > Yeah, but dude, if you don't like an Interface you should change it, not > abuse it. And your interface where size() returns the size of an > allocated buffer is clearly not the one that FileBucket implements.
Well, the way it happened, the details of the situation didn't really become clear to me until after the code was written (last year). I've known the interface needed to be forked/changed but it hasn't been high on my list. -tc _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
