style: 全项目统一 Tab 缩进并补全尾随逗号
This commit is contained in:
@@ -31,8 +31,8 @@ import java.nio.charset.Charset
|
||||
fun InputStream.readAllText(charset: Charset = Charsets.UTF_8) = this.readAllBytes().toString(charset)
|
||||
|
||||
fun InputStream.exportBytes(out: OutputStream) {
|
||||
out.write(this.readAllBytes())
|
||||
out.flush()
|
||||
out.write(this.readAllBytes())
|
||||
out.flush()
|
||||
}
|
||||
|
||||
fun InputStream.readToList(): List<Byte> = this.readBytes().toList()
|
||||
|
||||
Reference in New Issue
Block a user