Skip to content

Commit ef93cdc

Browse files
authored
Update io-basis.md
1 parent 7673b7d commit ef93cdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/java/io/io-basis.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ The content read from file:§å®¶å¥½
194194

195195
- `read()` : 从输入流读取一个字符。
196196
- `read(char[] cbuf)` : 从输入流中读取一些字符,并将它们存储到字符数组 `cbuf`中,等价于 `read(cbuf, 0, cbuf.length)` 。
197-
- `read(char[] cbuf, int off, int len)` :在`read(char[] cbuf)` 方法的基础上增加了 `off` 参数(偏移量)和 `len` 参数(要读取的最大字节数)。
197+
- `read(char[] cbuf, int off, int len)` :在`read(char[] cbuf)` 方法的基础上增加了 `off` 参数(偏移量)和 `len` 参数(要读取的最大字符数)。
198198
- `skip(long n)` :忽略输入流中的 n 个字符 ,返回实际忽略的字符数。
199199
- `close()` : 关闭输入流并释放相关的系统资源。
200200

@@ -244,9 +244,9 @@ The content read from file:我是Guide。
244244

245245
- `write(int c)` : 写入单个字符。
246246
- `write(char[] cbuf)` :写入字符数组 `cbuf`,等价于`write(cbuf, 0, cbuf.length)`。
247-
- `write(char[] cbuf, int off, int len)` :在`write(char[] cbuf)` 方法的基础上增加了 `off` 参数(偏移量)和 `len` 参数(要读取的最大字节数)。
247+
- `write(char[] cbuf, int off, int len)` :在`write(char[] cbuf)` 方法的基础上增加了 `off` 参数(偏移量)和 `len` 参数(要读取的最大字符数)。
248248
- `write(String str)` :写入字符串,等价于 `write(str, 0, str.length())` 。
249-
- `write(String str, int off, int len)` :在`write(String str)` 方法的基础上增加了 `off` 参数(偏移量)和 `len` 参数(要读取的最大字节数)。
249+
- `write(String str, int off, int len)` :在`write(String str)` 方法的基础上增加了 `off` 参数(偏移量)和 `len` 参数(要读取的最大字符数)。
250250
- `append(CharSequence csq)` :将指定的字符序列附加到指定的 `Writer` 对象并返回该 `Writer` 对象。
251251
- `append(char c)` :将指定的字符附加到指定的 `Writer` 对象并返回该 `Writer` 对象。
252252
- `flush()` :刷新此输出流并强制写出所有缓冲的输出字符。

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy