twitter/finagle — pull request #203 by gsoltis (2013-09-23 22:39:49+00:00)
Title: Fix generated OpenSSLEngine class to handle direct byte buffers

Netty 4 makes use of direct byte buffers. In particular, the constant empty buffer is hard-coded to be a direct buffer. Since the .array() method is unsupported on direct buffers, other parts of the ByteBuffer api are needed when manipulating the buffers.