Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

WireFormat fails hard when writing long strings #34

merged 1 commit into from Jan 9, 2012


None yet
2 participants

stephenroller commented Jan 9, 2012

Due to the use of writeUTF, writing intermediate strings longer than 64k throw a UTFDataFormatException and fail hard. This is documented in the Java API:

@espringe espringe merged commit b58d1f9 into NICTA:master Jan 9, 2012


espringe commented Jan 9, 2012

Nice catch! Thanks very much for providing code to fix this too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment