[1320] in java-interest

home help back first fref pref prev next nref lref last post

allocating byte arrays in native methods

daemon@ATHENA.MIT.EDU (Jay Fenton)
Tue Aug 29 23:51:33 1995

Date: Wed, 30 Aug 1995 17:36:15 -0700
To: java-interest@java.sun.com
From: jay@communities.com (Jay Fenton)

I notice in the html documentation on how to write native
methods the routine named: ArrayAlloc(int type, int len).
The documented values for type permit me to allocate
arrays of objects, booleans, unicode characters, and floats.
I would much rather allocate an array of bytes, however
that is not included in the list of possibilities.

Does anyone out there know how to allocate an array of bytes
from within a Java native method?


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post