Android Question convert int higher then 127 to string chr

DonManfred

Expert
Licensed User
Longtime User
B4X:
Sub ToUnsigned(b As Byte) As Int
   Return Bit.And(0xFF, b)
End Sub

'check:
Log(Bit.ToHexString(ToUnsigned(0xAA)))
 
Upvote 0
Top