Added utf8 to Datapacket to make the remote IMeshService work

pull/276/head
Vadim Furman 2021-04-13 17:42:24 -07:00
rodzic 691c5862cb
commit bd74d64be0
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -4,6 +4,8 @@ import android.os.Parcel
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import kotlinx.serialization.Serializable
import java.nio.charset.Charset
@Parcelize
enum class MessageStatus : Parcelable {
@ -144,6 +146,8 @@ data class DataPacket(
override fun newArray(size: Int): Array<DataPacket?> {
return arrayOfNulls(size)
}
val utf8 = Charset.forName("UTF-8")
}
}