vibe.d beta banner
get vibe.d
0.9.0

Asynchronous I/O that doesn’t get in your way, written in D

Function StreamOutputRange

Implements a buffered output range interface on top of an OutputStream.

StreamOutputRange!OutputStream StreamOutputRange (
  OutputStream stream
);
struct StreamOutputRange(OutputStream, ulong buffer_size = 256)
  
if (isOutputStream!OutputStream);

Function StreamOutputRange

Struct StreamOutputRange

Constructors

NameDescription
this (stream)

Fields

NameTypeDescription
m_data ubyte[buffer_size]
m_fill size_t
m_stream OutputStream

Methods

NameDescription
drop ()
flush ()
put (bt)
put (bts)
put (elem)
put (elems)
put (elem)
put (elems)
Authors

Sönke Ludwig

Copyright

© 2013-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.