Android Question byteconverter library error

Discussion in 'Android Questions' started by SelimN, Sep 3, 2018.

Tags:
  1. SelimN

    SelimN New Member

    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
     
    Last edited: Sep 3, 2018
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice