// ToWire converts the MsgHeader to the wire protocol
ToWire converts the MsgHeader to the wire protocol
// ToWire converts the MsgHeader to the wire protocol
func (m MsgHeader) ToWire() []byte {
	var d [MsgHeaderLen]byte
	b := d[:]
	SetInt32(b, 0, m.MessageLength)
	SetInt32(b, 4, m.RequestID)
	SetInt32(b, 8, m.ResponseTo)
	SetInt32(b, 12, int32(m.OpCode))
	return b
}
func ( m MsgHeader ) ToWire ( ) [ ] byte { var d [ MsgHeaderLen ] byte b := d [ : ] SetInt32 ( b , 0 , m . MessageLength ) SetInt32 ( b , 4 , m . RequestID ) SetInt32 ( b , 8 , m . ResponseTo ) SetInt32 ( b , 12 , int32 ( m . OpCode ) ) return b }
ToWire converts the MsgHeader to the wire protocol
ToWire converts the MsgHeader to the wire protocol