steal_as_bytes


Description:

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