close


Description:

public virtual int close (Cancellable? cancellable = null) throws Error

Closes the stream.

Parameters:

this

a Stream object

cancellable

optional Cancellable object, or null

Returns:

0 on success or -1 on error.