[Tcl Java] Re: [Tcl Java] byte array

1999-09-23 Thread Moses DeJong
On Wed, 22 Sep 1999, Suvarna Ayyagari wrote: > Hi, > > I have a question and I do not know if this is feasible with Tclblend > > Let us say I have a java method on object 'obj' that returns a byte array to > me. And the method name is 'readData' and the contents of the byte array > returned t

[Tcl Java] byte array

1999-09-22 Thread Suvarna Ayyagari
Hi, I have a question and I do not know if this is feasible with Tclblend Let us say I have a java method on object 'obj' that returns a byte array to me. And the method name is 'readData' and the contents of the byte array returned to me is of 3 bytes with the following values, byte b[] =

[Tcl Java] byte array

1999-08-12 Thread Suvarna Ayyagari
Hi, I want to create a byte array using tclblend.The array may contain values from 00 to FF in Java I would do it as follows, byte b[] = { (byte) 0xFF ,(byte) 0x80}; Can you please tell me how to implement this in tclblend ? For values less than 7F I have no problems I say set x [java::new