Stream.close

int close()

Closes the stream.

Returns

0 on success or %-1 on fail.