Fix compose-buffer for wrapping ByteBuffer
Merge pull request #12 from Navgeet/wrapped-bytebuffer

Fix compose-buffer for wrapping ByteBuffer, fixes #11