get_data_size


Description:

[ Version ( since = "2.18" ) ]
public size_t get_data_size ()

Returns the number of bytes from the start up to including the last byte written in the stream that has not been truncated away.

Parameters:

this

a MemoryOutputStream

Returns:

the number of bytes written to the stream