Struct StreamOutputRange
Implements a buffered output range interface on top of an OutputStream.
struct StreamOutputRange(OutputStream, ulong buffer_size = 256)
if (isOutputStream!OutputStream);
Fields
Name | Type | Description |
---|---|---|
m_data
|
ubyte[buffer_size] | |
m_fill
|
size_t | |
m_flushInDestructor
|
bool | |
m_stream
|
OutputStream |
Methods
Name | Description |
---|---|
drop
()
|
|
flush
()
|
|
put
(bt)
|
|
put
(bts)
|
|
put
(elem)
|
|
put
(elems)
|
|
put
(elem)
|
|
put
(elems)
|
|
writeToStream
(bytes)
|