string

open fun string(charset: Charset): String

Constructs a new String by decoding the bytes using charset.