On 2010-08-20 20:21, Bob Hazard wrote:
I'm just a noob but what about changing "uint8[] buffer " to "ArrayList<uint8> buffer" and use buffer.add (c);? (--pkg gee-1.0) You can still access an arraylist with buffer[i] later for convenience. Also if you enclose line 26 in in a try/catch that first warning goes away.
I ended up doing just that. The advantage of guint8[] was that is was castable to a string. -- Mildred Ki'Lya ╭───────── mildred593@online.fr ────────── │ Jabber, GoogleTalk: <mildred jabber fr> │ Website: <http://ki.lya.online.fr> GPG ID: 9A7D 2E2B │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
Attachment:
0x9A7D2E2B.asc
Description: application/pgp-keys