vibe.d beta banner
get vibe.d
0.10.1

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

Struct StreamOutputRange

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

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

Fields

NameTypeDescription
m_data ubyte[buffer_size]
m_fill size_t
m_flushInDestructor bool
m_stream OutputStream

Methods

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

Sönke Ludwig

Copyright

© 2013-2016 Sönke Ludwig

License

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