Code example for InputStream

Methods: skip

0
                } 
            } 
            HttpEntity entity = response.getEntity();
            InputStream is = entity.getContent();
            if (bytesToSkip > 0) {
                is.skip(bytesToSkip);
            } 
            return is;
        } 
 
        private File download(String src, String dest)
            throws DownloaderException, ClientProtocolException, IOException { 
            File destFile = new File(mDataDir, dest);
            FileOutputStream os = openOutput(dest, false);
            try { 
                downloadPart(src, os, 0, -1, null);
            } finally { 
                os.close();
            } 
            return destFile;
        }