Remove the deprecated OutputStream.write methods.
They will stay deprecated in vibe-d 0.8.0, but vibe-core will be released without them.
This commit is contained in:
parent
822dcccf34
commit
71c83440d3
|
@ -174,18 +174,6 @@ interface OutputStream {
|
|||
/// ditto
|
||||
final void write(in char[] bytes) @blocking { write(cast(const(ubyte)[])bytes); }
|
||||
|
||||
/** Deprecated - writes the contents of an `InputStream` into this stream.
|
||||
|
||||
This function will be removed. Use `pipe` instead.
|
||||
|
||||
See_Also: `pipe`
|
||||
*/
|
||||
deprecated("Use s.pipe(this) instead.")
|
||||
final void write(InputStream s) { s.pipe(this); }
|
||||
/// ditto
|
||||
deprecated("Use s.pipe(this, nbytes) instead.")
|
||||
final void write(InputStream s, ulong nbytes) { s.pipe(this, nbytes); }
|
||||
|
||||
/** Flushes the stream and makes sure that all data is being written to the output device.
|
||||
*/
|
||||
void flush() @blocking;
|
||||
|
|
Loading…
Reference in a new issue