SocketOutputStream.writeToStream

Writes bytes from buffer to the socket.

struct SocketOutputStream
writeToStream
(
ubyte[] buffer
)

Parameters

buffer ubyte[]

The buffer to write bytes from.

Return Value

The number of bytes written, or -1 in case of error.

Meta