B beta Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-15 #8 if astream.position=astream.size then 读完; 或者,把每次读的长度纪录下来,然后累加如果等于size 那么,读完.
S SuperMMX Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-16 #9 aStream.Position = aStream.Siz - 1 hehe .
S sunrain Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-16 #10 好象很多都没有啊,比如InputStream,BufferedInputSream availbable 好象也没有返回结果。
T tonydlu Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-21 #11 InputReader ir = new InputReader(inputstream); while((tmpStr=ir.readLine())!=null){ .... }
Y yaojian Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-30 #14 Stream's size is unrelyable. Use xx.readLine()==-1 sounds reasonable. If you think it is problem, just show the case. BTW, maybe you are using pipe stream, something like these return -1 means NOW there is no data in the stream.
Stream's size is unrelyable. Use xx.readLine()==-1 sounds reasonable. If you think it is problem, just show the case. BTW, maybe you are using pipe stream, something like these return -1 means NOW there is no data in the stream.