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:
Sönke Ludwig 2017-01-27 00:10:09 +01:00
parent 822dcccf34
commit 71c83440d3
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -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;