hi,
i need use byteconverter library in my b4j code.
byteconverter librar version 1.10
mycode is :
Dim Bytes(0) As Byte
Dim str As String
str = ints
LogDebug ( "i2b out")
bc.LittleEndian = False
Bytes = bc.StringToBytes(str, "UTF-8")
LogDebug(Bytes)
building error is :
NumberToString(byte[])
anywheresoftware.b4a.keywords.Common.LogDebug(BA.NumberToString(_bytes));
^
method BA.NumberToString(double) is not applicable
(argument mismatch; byte[] cannot be converted to double)
method BA.NumberToString(float) is not applicable
(argument mismatch; byte[] cannot be converted to float)
method BA.NumberToString(int) is not applicable
(argument mismatch; byte[] cannot be converted to int)
method BA.NumberToString(long) is not applicable
(argument mismatch; byte[] cannot be converted to long)
method BA.NumberToString(Number) is not applicable
(argument mismatch; byte[] cannot be converted to Number)
1 error
Edit : i find problem logDebug cannot view byte
i need use byteconverter library in my b4j code.
byteconverter librar version 1.10
mycode is :
Dim Bytes(0) As Byte
Dim str As String
str = ints
LogDebug ( "i2b out")
bc.LittleEndian = False
Bytes = bc.StringToBytes(str, "UTF-8")
LogDebug(Bytes)
building error is :
NumberToString(byte[])
anywheresoftware.b4a.keywords.Common.LogDebug(BA.NumberToString(_bytes));
^
method BA.NumberToString(double) is not applicable
(argument mismatch; byte[] cannot be converted to double)
method BA.NumberToString(float) is not applicable
(argument mismatch; byte[] cannot be converted to float)
method BA.NumberToString(int) is not applicable
(argument mismatch; byte[] cannot be converted to int)
method BA.NumberToString(long) is not applicable
(argument mismatch; byte[] cannot be converted to long)
method BA.NumberToString(Number) is not applicable
(argument mismatch; byte[] cannot be converted to Number)
1 error
Edit : i find problem logDebug cannot view byte
Last edited: