ref_base_stream


Description:

[ Version ( since = "3.12" ) ]
public IOStream? ref_base_stream ()

Returns the IOStream for this.

This is only valid if this was created with Stream. For all other Stream subclasses this function returns null.

The returned IOStream is referenced for thread-safety and should be unreferenced with unref when finished with it.

Parameters:

this

a Stream

Returns:

a IOStream, or null