Stream.reset

int reset() nothrow

Resets the stream.

Returns

0 on success or %-1 on fail.