vibe.d beta banner
get vibe.d
0.8.0

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

ZlibOutputStream.write - multiple declarations

Function ZlibOutputStream.write

Writes an array of bytes to the stream.

final ulong write (
  const(ubyte[]) data,
  IOMode mode
) @safe;

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

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

Function OutputStream.write

Pipes an InputStream directly into this OutputStream.

final abstract deprecated void write (
  InputStream stream,
  ulong nbytes = 0LU
) @safe;

The number of bytes written is either the whole input stream when nbytes == 0, or exactly nbytes for nbytes > 0. If the input stream contains less than nbytes of data, an exception is thrown.

Function ZlibOutputStream.write

Writes an array of bytes to the stream.

final ulong write (
  const(ubyte[]) data,
  IOMode mode
) @safe;

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

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

Alias ZlibOutputStream.write

class ZlibOutputStream
{
  // ...
  alias write ;
  // ...
}
Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

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