public int inputData(InputStream is, byte[] data, int off, int len) throws
            IOException {
        int size = is.read(data, off, len);
        data = inputData(data, off, size);
        return size;
    }