Re: [Nutshell-devel] Basic class information : Byte Buffer.
Status: Planning
Brought to you by:
alexandream
From: Rodrigo C. <rc...@gm...> - 2006-08-26 16:43:18
|
Also whats the difference btwn getSize and getCapacity? On 8/24/06, Alexandre Moreira <ale...@gm...> wrote: > > 2006/8/24, Rodrigo Coacci <rc...@gm...>: > [...] > > When needed or if possible? > > I guess I didn`t catch up that one.... Or you wrap around when needed o= r > > not.... > > What you do when it need but you can`t? Exception? Data loss? > > > The Buffer, as a class outside of our system, when need to put data > and can't find any room for it, will throw an exception. It is the job > of the client class (our system, in this context) to get a buffer that > is large enough for the data it wants to put there (in our case this > will probably be "Two times the size of the larger message", but I > will explain the why later). > > [...] > > Regards, > Alexandre Moreira. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Nutshell-devel mailing list > Nut...@li... > https://lists.sourceforge.net/lists/listinfo/nutshell-devel > --=20 Abra=E7os, Rodrigo |