mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-16 00:44:42 +01:00
initial ravi-v3 commit
This commit is contained in:
@@ -25,7 +25,8 @@ func (m *MsgSysOperateRegister) Parse(bf *byteframe.ByteFrame, ctx *clientctx.Cl
|
||||
m.SemaphoreID = bf.ReadUint32()
|
||||
_ = bf.ReadUint16()
|
||||
dataSize := bf.ReadUint16()
|
||||
m.RawDataPayload = bf.ReadBytes(uint(dataSize))
|
||||
m.RawDataPayload = bf.ReadBytes(uint(dataSize) - 1)
|
||||
_ = bf.ReadBytes(1) // Null terminator
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user