Decouple from Java NIO Buffers