Switching Protocol.encodeBytes to use Base64. refs #91 #95

Merged
merged 1 commit into from Jan 2, 2012

Projects

None yet

3 participants

@fdintino
Contributor

I changed Protocol.encodeBytes() to use Base64 encoding to fix the issue of bytes in the range of 0xD8 - 0xDF being sent as 0x00 (issue #91).

The Base64.java file is from MiGBase64.

@bartdag
Owner
bartdag commented Dec 23, 2011

Thanks for your patch! This is really helpful! I will review it and merge it during the holidays.

@agronholm

It's still wasteful compared to sending a length + raw bytes, but any working fix is welcome for now.

@bartdag bartdag merged commit 9fde60f into bartdag:master Jan 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment