ByteBuffer supports direct transfer from InputStream