code: func (mr *MockPacketEncoderMockRecorder) Encode(typ, data interface{}) *gomock.Call {
  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Encode", reflect.TypeOf((*MockPacketEncoder)(nil).Encode), typ, data)
  }
docs: // Encode indicates an expected call of Encode