Topic: 关于 使用 int readnum = InputStream.read()来读取字符 问题

  Print this page

1.关于 使用 int readnum = InputStream.read()来读取字符 问题 Copy to clipboard
Posted by: redeyelove
Posted on: 2006-07-18 19:29

1。使用 int readnum = InputStream.read()来读取 字符 时,怎样判断所有数据已经读取完?

2。使用 String readline = Reader.readline()来读取 数据 时,怎样判断所有数据已经读取完?

2.Re:关于 使用 int readnum = InputStream.read()来读取字符 问题 [Re: redeyelove] Copy to clipboard
Posted by: Freax
Posted on: 2006-07-19 14:53

1. return -1 is finished
2. return null finished


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923