THRIFT-830. java: Switch binary field implementation from byte[] to ByteBuffer This patch switches the implementation of binary fields to ByteBuffer in the Java generated code, yielding up to 2.5x speed boost.