API changed to nio.ByteBuffer. CC still works it seems