It's easier to write to a file using the writeText() method. ... Syntax. File.writeText(text: String, charset: Charset = Charsets.UTF_8) ... import java.io.
確定! 回上一頁