예제 #1
0
func (t *Message) Unmarshal(r *wipro.Reader) {
	t.MagicByte = r.ReadInt8()
	t.Attributes = r.ReadInt8()
	t.Key = r.ReadBytes()
	t.Value = r.ReadBytes()
}