mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix t193 encode error
This commit is contained in:
parent
3fb9f40095
commit
ae8c187aa5
@ -6,7 +6,7 @@ func T193(ticket string) []byte {
|
|||||||
return binary.NewWriterF(func(w *binary.Writer) {
|
return binary.NewWriterF(func(w *binary.Writer) {
|
||||||
w.WriteUInt16(0x193)
|
w.WriteUInt16(0x193)
|
||||||
pos := w.FillUInt16()
|
pos := w.FillUInt16()
|
||||||
w.WriteString(ticket)
|
w.Write([]byte(ticket))
|
||||||
w.WriteUInt16At(pos, uint16(w.Len()-4))
|
w.WriteUInt16At(pos, uint16(w.Len()-4))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user