You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
reader/app/src/main/java/com/novel/read/utlis/Charset.kt

16 lines
262 B

package com.novel.read.utlis
/**
* 编码类型
*/
enum class Charset private constructor(var code: String) {
UTF8("UTF-8"),
UTF16LE("UTF-16LE"),
UTF16BE("UTF-16BE"),
GBK("GBK");
companion object {
val BLANK: Byte = 0x0a
}
}