We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for ( byte b : byteArrayOutputStream.toByteArray() ) { writer.write( (char) b ); }
This loop is error-prone because a byte does not necessarily represent a char. If a multibyte character is encountered, the output will be mangled.
The text was updated successfully, but these errors were encountered:
The code in question is targeted for removal in 4.0?!
Sorry, something went wrong.
ef2902d
michael-o
No branches or pull requests
This loop is error-prone because a byte does not necessarily represent a char. If a multibyte character is encountered, the output will be mangled.
The text was updated successfully, but these errors were encountered: