Type Conversion from C to Java
===

I wasn't sure if this was a good question for SO, but the more I thought about it I realized that it is definitely something that others can use in the future. If I am incorrect, please let me know and I will remove the question. I did my best to Google this but couldn't find a clean answer in a table-like form that shows type conversions.

The reason I would like to convert these types, is because I am using the Android NDK to call functions from native code. The problem is that the native code calls different types that do not exist in Java.

I actually have no experience in C, and have found these few types from looking at code quickly. Please feel free to edit this post to add different types to be converted.

    From C to Java

    long ->

    short ->

    char ->

    unsigned long ->

    unsigned short ->

    unsigned char ->

    byte ->

    Int8 ->

    Int16 ->

    Int32 ->

    UInt8 ->

    UInt16 ->

    UInt32 ->

Also, if any of these cannot convert into a Java type, please explain why. Thanks.