Re: JavaXPCOM: How to handle unsigned 8-bit values?

Sylvain Ferriol <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <P4GdnfI9kaRxcbDbnZ2dnUVZ_h3inZ2d__21439.3572685823$1177415124$gmane$org@mozilla.org>
> 3) Promote everything but 'octet' values.  This way, the user doesn't 
> need to worry about unsigned values, except for byte.  And since byte 
> arrays are often used for passing around data, there is no need to first 
> copy the data to a short array.
> 
but only with arrays (of octets or PRUint8)
> 
> I prefer the 3rd option.  What does everyone else here think?
> 
> 
> javier pedemonte
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.