ObjectType is the first 8 bits on the wire
()
| 13 | |
| 14 | // ObjectType is the first 8 bits on the wire |
| 15 | func (mt MessageCode) ObjectType() uint8 { |
| 16 | return uint8(mt >> 8) |
| 17 | } |
| 18 | |
| 19 | // OpCode is the second 8 bits on the wire. |
| 20 | func (mt MessageCode) OpCode() uint8 { |