SSLStream.write - multiple declarations

Function SSLStream.write

Writes an array of bytes to the stream.

Prototype

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

Function SSLStream.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
);

Alias SSLStream.write

Declaration

class SSLStream
{
	// ...
	alias write;
	// ...
}

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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