vibe.d beta banner
get vibe.d
0.9.7

Asynchronous I/O that doesn’t get in your way, written in D

CountingOutputStream.write - multiple declarations

Function CountingOutputStream.write

Writes an array of bytes to the stream.

override ulong write (
  scope const(ubyte)[] bytes_,
  IOMode mode
) @safe;

final abstract void write (
  scope const(ubyte)[] bytes
) @safe;

final abstract void write (
  scope const(char)[] bytes
) @safe;

Function CountingOutputStream.write

Writes an array of bytes to the stream.

override ulong write (
  scope const(ubyte)[] bytes_,
  IOMode mode
) @safe;

final abstract void write (
  scope const(ubyte)[] bytes
) @safe;

final abstract void write (
  scope const(char)[] bytes
) @safe;

Alias CountingOutputStream.write

class CountingOutputStream
{
  // ...
  alias write = OutputStream.write;
  // ...
}
Authors

Sönke Ludwig

Copyright

© 2012 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.