i have an interger moving from 0 to 999 and i want to integrate this integer in an array of byte representing a string
at last i found a solution but not clean!
global variable is :
public sosnb as int = 0
in my sub i have :
Dim ss As String = sosnb
Dim sas() As Byte = " "
bc.ArrayCopy(bc.StringToBytes(ss),sas)
bc.ArrayCopy2(sas,0,payload_out,20,3)
=> and i have my integer in an array of byte representing my string
i didn't find a way to be more efficient..
thanks for your help