« Return to Thread: SWIG Convert unsigned char pointer to byte array

Re: SWIG Convert unsigned char pointer to byte array

by malat :: Rate this Message:

| View in Thread

arrays_java.i seems to be working nicely for me:

http://www.swig.org/Doc1.3/Java.html#c_arrays

What have you been trying so far ?

On Tue, Mar 6, 2012 at 10:45 PM, colin gray <cgswtsu78@...> wrote:

> Hello,
>
> Does SWIG provide a mechanism that allows the conversion of an unsigned char
> pointer to a byte array? I believe each byte will have to be handled and
> unsigned, but I can't find the section that covers this in the SWIG
> documentation. I'm using SWIG with Java.
>
> Thanks,
>
> --
> Colin
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Swig-user mailing list
> Swig-user@...
> https://lists.sourceforge.net/lists/listinfo/swig-user
>



--
Mathieu

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: SWIG Convert unsigned char pointer to byte array