Android Question Longest String?

techknight

Well-Known Member
Licensed User
Longtime User
I want to send files back and forth between the PC App and B4A App, So I was taking a look at a few options to do this using the Serializator library. (which is actually Serialize in our language, but I digress)

However, I was wondering what the longest string possible is? So if I were to encode the "blob" Byte Array into a Base64 string, how big of a string/file could this be?

Just curious.
 

DonManfred

Expert
Licensed User
Longtime User
Depends on free memory. There is no limit.
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
Depends on free memory. There is no limit.

Perfect, I am used to the old VB world where there was a limit on strings, like 255 characters, or 65535 or something along those lines, I honestly forget.

I didn't know if there were variable boundary limits regardless of memory, and if there were, it would be a Java thing itself.
 
Upvote 0
Top