getLength

open fun getLength(): UInt

Returns the number of bytes in the stream. If length is unknown, UInt.MAX_VALUE will be returned.

Return

the number of bytes in the stream