system New Member Jan 24, 2022 #1 Hi to All i have java method Code: Copy #if Java ...... static long crc16(byte[] buffer) { long crc; .................. return crc; } #End if and i want pass some buffer to crc16 like : Code: Copy 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) )
Hi to All i have java method Code: Copy #if Java ...... static long crc16(byte[] buffer) { long crc; .................. return crc; } #End if and i want pass some buffer to crc16 like : Code: Copy 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) )
Erel B4X founder Staff member Licensed User Longtime User Jan 25, 2022 #2 Code: Copy JI.RunMethod("crc16", Array(Buffer)) Upvote 0