Android Question Pass Byte array as argument To Java Native method

system

New Member
Hi to All
i have java method

java code:
#if Java
......
static long crc16(byte[] buffer) {
 long  crc;
..................
   return crc;
}
#End if

and i want pass some buffer to crc16
like :
B4A:
Private JI As JavaObject = Me
Sub getDataInfo(Buffer() As Byte)
    JI.RunMethod("crc16", Buffer)
End Sub
and im wrong in call ( JI.RunMethod("crc16", Buffer) )
 
Top