Android Question File.ReadString encoding

xunwichtig

Member
Licensed User
Longtime User
Hi,

what kind of encoding is the retuned string of file.readstring?

and, its posible to fill copy the content of a file into a string without a reencoding so that the string contains the native filecontent?

Or its posible to access the memory of the string nativ like a pointer operation?


JimJim
XUN
 

xunwichtig

Member
Licensed User
Longtime User
hi,

i know, but i need it as a unencoded string.

btw... i don't understand how and why the string contains not the native filedata. The string-encode needs regular only for displaying the content, and not for accessing the bytes in it.
So, when i read the file into a string and send it over the network, then i receive not the raw stuff. I'm shure, that this way is a wrong way to handel the data inside a string.


JimJim
XUN
 
Upvote 0
Top