vibe.d beta banner
get vibe.d
0.7.30

CountingOutputStream.write - multiple declarations

  • Function CountingOutputStream.write
  • Function CountingOutputStream.write
  • Function OutputStream.write

Function CountingOutputStream.write

Writes an array of bytes to the stream.

Prototype

void write(
  const(ubyte[]) bytes
);

Function CountingOutputStream.write

Pipes an InputStream directly into this OutputStream.

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.

Prototype

void write(
  InputStream stream,
  ulong nbytes = 0LU
);

Function OutputStream.write

Writes an array of chars to the stream.

Prototype

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

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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