mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-07-12 00:23:48 +00:00
fix t193 encode error
This commit is contained in:
@ -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))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user