Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
A__Stream__is a communication channel where data is reliably transferred as an ordered sequence of bytes. Streams are either synchronous or asynchronous, and may allow reading, writing, or both. Note that a particular type may model more than one concept. For example, the networking types是一种通信通道,数据以有序字节序列的形式在其中可靠传输。流可分为同步流与异步流,可支持读操作、写操作或两者同时支持。需要注意的是,某个具体类型可能同时符合多个概念模型。例如,网络库中的 __socket__and与 __ssl_stream__support both类型同时支持 __SyncStream__and与 __AsyncStream__. All stream algorithms in Beast are declared as template functions using these concepts:两种概念。Beast 中的所有流算法均以模板函数形式声明,并使用这些概念进行约束: