UnbufferedSocketStreamBase.write

Writes data to the socket.

struct UnbufferedSocketStreamBase
@safe
size_t
write
(
in ubyte[] data
)

Parameters

data ubyte[]

The data to write to the file. The length of the slice indicates how much data should be written.

Return Value

Type: size_t

The number of bytes that were written.

Throws

SocketException on failure.

Meta