Skip to content

Commit

Permalink
🐛 Fix AppRequestBindInfo not being deserialized
Browse files Browse the repository at this point in the history
  • Loading branch information
guiyanakuang committed Dec 2, 2023
1 parent a6dbcf4 commit fb85dfc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ data class AppRequestBindInfo(
val dataStream = DataOutputStream(byteStream)
dataStream.writeInt(salt)
dataStream.writeUTF(platform)
dataStream.write(publicKey.serialize())
val serialize = publicKey.serialize()
dataStream.writeInt(serialize.size)
dataStream.write(serialize)
dataStream.writeInt(hostInfoList.size)
hostInfoList.forEach {
dataStream.writeUTF(it.displayName)
Expand Down

0 comments on commit fb85dfc

Please sign in to comment.