public override void deserialize(byte[] buffer, ref int offset)
 {
     int statusInt = 0;
     deserializeInt32(buffer, ref offset, ref statusInt);
     status = (WelcomeStatus)statusInt;
 }
 public POIWelcomeMsg(WelcomeStatus myStatus)
 {
     messageType = POIMsgDefinition.POI_WELCOME;
     status = myStatus;
 }