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

David Kirkman dkirkman at ucsd.edu
Tue Sep 14 04:12:10 UTC 2010

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")

More information about the armedbear-devel mailing list