readString

open override fun readString(charset: Charset): String

Removes all bytes from this, decodes them as charset, and returns the string.

open override fun readString(byteCount: Long, charset: Charset): String

Removes byteCount bytes from this, decodes them as charset, and returns the string.