What kind of Java type is “[B”?

That my friend is an array of bytes. In JNI, [B is used to describe an array ([) of bytes (B). An array of ints is [I etc.

You can get a bit more information on field descriptors here:
JNI Types and Data Structures (Table 3-2 should be what you are looking for).

Leave a Comment