Streaming interfaces

Jacob Carlborg doob at me.com
Tue Jan 21 00:35:01 PST 2014


On 2014-01-21 02:41, Jason White wrote:
> There has been some work on the serialization front:
>
>      http://wiki.dlang.org/Review/std.serialization
>
> I don't think std.serialization can read/write directly from/to a
> socket. It seems to me that a generalized stream interface is required
> to achieve this.

Currently it cannot. But the idea is that the final implementation will 
provide a range API. If the socket provides a range API as well, it can 
read from/to the socket.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list