...sorry for a =:)
instead of
if (xtype == null || xtype.toLowerCase().indexOf("transfer-encoding:") > 0) break;
it should be
if (xtype == null ||...
Type: Posts; User: Voodoo
...sorry for a =:)
instead of
if (xtype == null || xtype.toLowerCase().indexOf("transfer-encoding:") > 0) break;
it should be
if (xtype == null ||...
Onlyoncehere
Gosh you've question....
Your code is incomplete :o this piece here works only with a displayable text content. It runs immediately into troubles if the content is a zipped or chunked...
....sorry I was out for some errands :o
back to the method Method getChunk(). This method just read the Ascii-hex nnnn...nn in order to determine how big the expected chunk will be. The buf includes...
onlyoncehere
For the sake of the community I explain the ChunkedInputStream codes here.
* ChunkedInputStream is an extend of the InputStream so that it inherits every NO-overwritten methods (e.g....
It fits because huge data (independent on YouTube) are usually sent in chunks (groups of data) so that a browser can cache them and avoids to hog the traffic. If you want to avoid this problem you...
The message
"java.io.IOException: Premature EOF
at sun.net.www.http.ChunkedInputStream.readAheadBlocking(Unknown Source)
...."
is thrown if the input stream is NOT a real...