writeOne

Writes exactly one element to an output stream.

Parameters

stream S

The stream to write one element to.

value T

The value to write.

Return Value

An optional stream error, which is present if writing failed.

Meta