Type T is the element type.
Examples:
auto inp = new EndianInput!(dchar)(new Array("hello world"d.dup));
auto oot = new EndianOutput!(dchar)(new Array(64));
oot.copy (inp);
assert (oot.output.slice() == "hello world"d);
- this(OutputStream stream);
- size_t write(const(void)[] src);
- Write to output stream from a source array. The provided
src content will be consumed and left intact.
Returns the number of bytes written from src, which may
be less than the quantity provided. Note that any partial
elements will not be consumed.