B4J Question Concatenate byte array...

stefanoxjx

Active Member
Licensed User
Longtime User
Hi,
I need to concatenate all packet received by AStream_NewData event in a one byte array.
I don't know the final dimension of array and then I can't create it with fixed dimension.
When I will have my unique array, I need to search string in it but without convert in string because during conversion, some binary data are modified.
For example:
fe 32 0 2 4 e8 3 21 56 d2 7 1a 63 22 9c (binary)
fd 32 0 2 4 fd 3 21 56 fd 7 1a 63 22 fd (Same array converted to string)

Exist some library or function that can help me?
Thanks.

Stefano
 
Top