steal_as_bytes


Description:

[ Version ( since = "2.34" ) ]
public Bytes steal_as_bytes ()

Returns data from the this as a Bytes.

this must be closed before calling this function.

Parameters:

this

a MemoryOutputStream

Returns:

the stream's data