Android Question Base64 to Hexadecimal

dibesw

Active Member
Licensed User
Longtime User
HI,

I need to convert Base64 string to Exadecimal
like this:
/f9MXQ ===> fdff4c5d
How can I do?

Thanks!!
 

dibesw

Active Member
Licensed User
Longtime User
Solved

I extract directly hexadecimal from buffer...
B4X:
Sub astream_NewData (Buffer() As Byte)
   Dim ppp As String
   'ppp=BytesToString(Buffer, 0, Buffer.Length, "UTF8")
   ppp=BCO.HexFromBytes(Buffer)
   Msgbox(ppp,"")
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…