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