read()API中文翻译

红太狼 2022-05-17 21:10 321阅读 0赞

public synchronized int read() throws IOException
* See
参见
* the general contract of the read
对输入流的读方法的基本协议
* method of InputStream.
* 返回值 返回数据的下一字节,或者返回-1当输入流到达末尾时
* @return the next byte of data, or -1 if the end of the
* stream is reached.
* @exception IOException if this input stream has been closed by
* invoking its {@link #close()} method,
* or an I/O error occurs.
* @see java.io.FilterInputStream#in
*

发表评论

表情:
评论列表 (有 0 条评论,321人围观)

还没有评论,来说两句吧...

相关阅读