[armedbear-devel] How to declare a jconstructor/jmethod which has array arguments?

Chun Tian (binghe) binghe.lisp at gmail.com
Tue Sep 14 05:04:24 UTC 2010


Hi, David

Thanks very much! (but that's really weird ...)

--binghe

在 2010-9-14,12:12, David Kirkman 写道:

> On Mon, Sep 13, 2010 at 9:02 PM, Chun Tian (binghe)
> <binghe.lisp at gmail.com> wrote:
>> 
>> But how can I declare java.net.DatagramPacket, whose constructor has a byte[] argument:
>> 
>>  public DatagramPacket (byte[] buf, int offset, int length)
>> 
>> Just don't know how to represent "byte[]" ...
>> 
> 
> (jconstructor "java.net.DatagramPacket" "[B" "int" "int")

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2603 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100914/f785ddd9/attachment.bin>


More information about the armedbear-devel mailing list