MemoryOutputStream.getDataSize

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

class MemoryOutputStream
size_t
getDataSize
()

Return Value

Type: size_t

the number of bytes written to the stream

Meta

Since

2.18