getDataSize

open fun getDataSize(): <Error class: unknown class>

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

Return

the number of bytes written to the stream

Since

2.18