internal static void CopyOut(v_userDataPolicyI_s from, ref UserDataQosPolicy to)
 {
     if (to == null)
     {
         to = new UserDataQosPolicy();
     }
     SequenceOctetMarshaler.CopyOut(from.v._value, ref to.Value, from.v.size);
 }
 internal static DDS.ReturnCode CopyIn(UserDataQosPolicy from, ref v_userDataPolicyI_s to)
 {
     DDS.ReturnCode result = DDS.ReturnCode.Ok;
     if (from != null)
     {
         to.v.size = from.Value.Length;
         SequenceOctetMarshaler.CopyIn(from.Value, ref to.v._value);
     }
     else
     {
         result = DDS.ReturnCode.BadParameter;
         ReportStack.Report(result, "UserDataQosPolicy attribute may not be a null pointer.");
     }
     return(result);
 }
 internal static void CleanupIn(ref v_userDataPolicyI_s to)
 {
     SequenceOctetMarshaler.CleanupIn(ref to.v._value);
 }