Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
Files can be read now, and the next step is to allow writing to files by implementing the __BodyReader__. The style is similar to the writer, except that buffers are incoming instead of outgoing. Here's the declaration:现在可以读取文件。下一步是实现 BodyReader 以支持写入文件。该实现的风格与写入器类似,只是缓冲区方向相反——数据从外部传入而非传出。声明如下: