B4J Question how can I EncodeBase64 to textbox

imbault

Well-Known Member
Licensed User
Longtime User
Hi,
It's better to save to your database in BLOB, binary, than encoded in base64, cause it will be about 4x bigger.

Base64 is used for transfering usually, internally, binary is better

else is:

B4X:
Dim Encoded64 as String
Dim Conv As ByteConverter
Encoded64 = su.EncodeBase64(Conv.StringToBytes(Decode_gsm,"UTF-8"))
' Save the  Encoded64 into your database field
 
Last edited:
Upvote 0

sigster

Active Member
Licensed User
Longtime User
will check it out with BLOB, binary but this is only few name in the database around 30 name

Thanks for the help

Regards
Sigster
 
Upvote 0
Top