for some reason, when I take a string from my server to my app and Log it, the string is shorter than it needs to be.
I thought that it is happening because of the length of the string, but the whole string is 113137 characters long (and the limit is 10^32 -1).
The length of the string that returns to me is something like 4000.
Code:
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(IS));
StringBuilder stringBuilder = new StringBuilder();
String line = "";
while ((line = bufferedReader.readLine()) != null) {
stringBuilder.append(line);
}
Log.d("Base64", stringBuilder.toString());