Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
The completion handler is called with the number of bytes written to the stream, which includes protocol specific data such as the delimiters in the header and line endings. The number may be used to measure the amount of data transferred, or it may be ignored as in the example.完成处理器被调用时,会收到已写入流的字节数,该数量包含协议特定数据(例如头部中的分隔符和行结束符)。此数值可用于衡量传输的数据量,也可像示例中那样直接忽略。