minor: rename "auto" value type to explicit type, ensure JNI vs. C/C++ types are correctly declared (none of this is strictly necessary, as unsigned int 8 is unsigned chat is jbyte)