NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadEmbeddedPointer(System.Func, bool)

Here are the examples of the csharp api NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadEmbeddedPointer(System.Func, bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

551 Examples 7

19 View Source File : 0a74ef1c-41a4-4e06-83ae-dc74fb1cdd53_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadSByte();
            Member4 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<char[]>(new System.Func<char[]>(u.Read_3), false);
        }

19 View Source File : 1d55b526-c137-46c5-ab79-638f2a68e869_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadByte();
            Member1 = u.ReadByte();
            Member2 = u.ReadByte();
            Member4 = u.ReadInt16();
            Member8 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_10), false);
        }

19 View Source File : 1d55b526-c137-46c5-ab79-638f2a68e869_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadByte();
            Member2 = u.ReadInt16();
            Member4 = u.Read_0();
            Member8 = u.ReadInt32();
            MemberC = u.ReadInt32();
            Member10 = u.Read_0();
            Member14 = u.ReadInt16();
            Member18 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_11), false);
        }

19 View Source File : 1d55b526-c137-46c5-ab79-638f2a68e869_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadByte();
            Member2 = u.ReadInt16();
            Member4 = u.ReadInt32();
            Member8 = u.ReadInt16();
            Member10 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_13), false);
        }

19 View Source File : e1af8308-5d1f-11c9-91a4-08002b14a0fa_3.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadGuid();
            Member10 = u.ReadEmbeddedPointer<Struct_3>(new System.Func<Struct_3>(u.Read_2), true);
            Member18 = u.ReadVaryingAnsiString();
        }

19 View Source File : 3a9ef155-691d-4449-8d05-09ad57031823_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<Struct_5>(new System.Func<Struct_5>(u.Read_5), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_4");
        done:
            return;
        }

19 View Source File : 86d35949-83c9-4044-b424-db363231fd0c_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member4 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : 12b81e99-f207-4a4c-85d3-77b42f76fd14_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member20 = u.ReadInt32();
            Member24 = u.ReadInt32();
            Member28 = u.ReadInt32();
            Member2C = u.ReadInt32();
            Member30 = u.ReadInt32();
            Member34 = u.ReadInt32();
            Member38 = u.ReadInt32();
            Member3C = u.ReadInt32();
            Member40 = u.ReadInt16();
            Member42 = u.ReadInt16();
            Member48 = u.ReadEmbeddedPointer<byte[]>(new System.Func<byte[]>(u.Read_6), false);
            Member50 = u.ReadInt64();
            Member58 = u.ReadInt64();
            Member60 = u.ReadInt64();
        }

19 View Source File : 12b81e99-f207-4a4c-85d3-77b42f76fd14_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_7), false);
        }

19 View Source File : a0bc4698-b8d7-4330-a28f-7709e18b6108_4.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member4 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member20 = u.ReadInt32();
            Member24 = u.ReadInt32();
            Member28 = u.ReadInt32();
        }

19 View Source File : a0bc4698-b8d7-4330-a28f-7709e18b6108_4.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member10 = u.ReadEnum16();
            Member14 = u.ReadEnum16();
        }

19 View Source File : a2c45f7c-7d32-46ad-96f5-adafb486be74_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadInt64();
            Member10 = u.ReadInt32();
            Member14 = u.ReadInt32();
            Member18 = u.ReadEmbeddedPointer<int[]>(new System.Func<int[]>(u.Read_6), false);
        }

19 View Source File : a2c45f7c-7d32-46ad-96f5-adafb486be74_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<Struct_3>(new System.Func<Struct_3>(u.Read_3), false);
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<Struct_5>(new System.Func<Struct_5>(u.Read_5), false);
                goto done;
            }
            if ((Selector == 0))
            {
                Arm_0 = u.ReadEmbeddedPointer<int>(new System.Func<int>(u.ReadInt32), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_2");
        done:
            return;
        }

19 View Source File : a2c45f7c-7d32-46ad-96f5-adafb486be74_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member4 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_8), false);
        }

19 View Source File : 12b81e99-f207-4a4c-85d3-77b42f76fd14_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt16();
            Member2 = u.ReadInt16();
            Member8 = u.ReadEmbeddedPointer<char[]>(new System.Func<char[]>(u.Read_5), false);
        }

19 View Source File : 78e5d322-59a2-4324-ae3f-8bc8de32bdfc_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_5), false);
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_9), false);
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member10 = u.ReadInt32();
            Member18 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_10), false);
            Member20 = u.ReadInt32();
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member18 = u.ReadInt32();
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<Struct_6[]>(new System.Func<Struct_6[]>(u.Read_11), false);
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member8 = u.Read_7();
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadInt64();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadSByte();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.Read_2();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_8");
        done:
            return;
        }

19 View Source File : 98716d03-89ac-44c7-bb8c-285824e51c4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt16();
            Member2 = u.ReadInt16();
            Member8 = u.ReadEmbeddedPointer<char[]>(new System.Func<char[]>(u.Read_2), false);
        }

19 View Source File : 98716d03-89ac-44c7-bb8c-285824e51c4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member4 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<char[]>(new System.Func<char[]>(u.Read_3), false);
            Member10 = u.ReadInt32();
            Member18 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_4), false);
            Member20 = u.ReadInt32();
            Member28 = u.ReadEmbeddedPointer<char[]>(new System.Func<char[]>(u.Read_5), false);
            Member30 = u.ReadInt32();
            Member38 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_6), false);
            Member40 = u.ReadInt32();
            Member44 = u.ReadInt32();
            Member48 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_7), false);
            Member50 = u.ReadInt32();
            Member58 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_8), false);
            Member60 = u.ReadInt32();
            Member68 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_9), false);
            Member70 = u.ReadInt32();
            Member74 = u.ReadInt32();
            Member78 = u.ReadInt32();
        }

19 View Source File : 4b112204-0e19-11d3-b42b-0000f81feb9f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member20 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member28 = u.ReadInt32();
            Member2C = u.ReadInt32();
            Member30 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member38 = u.ReadGuid();
            Member48 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member50 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member58 = u.ReadInt32();
            Member60 = u.ReadEmbeddedPointer<Struct_2[]>(new System.Func<Struct_2[]>(u.Read_6), false);
            Member68 = u.ReadInt32();
            Member70 = u.ReadEmbeddedPointer<string[]>(new System.Func<string[]>(u.Read_7), false);
        }

19 View Source File : 4b112204-0e19-11d3-b42b-0000f81feb9f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEnum16();
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member20 = u.ReadGuid();
            Member30 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member38 = u.ReadInt32();
            Member40 = u.ReadEmbeddedPointer<Struct_2[]>(new System.Func<Struct_2[]>(u.Read_9), false);
            Member48 = u.ReadInt32();
            Member50 = u.ReadEmbeddedPointer<string[]>(new System.Func<string[]>(u.Read_10), false);
        }

19 View Source File : 4b112204-0e19-11d3-b42b-0000f81feb9f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingAnsiString), false);
            Member8 = u.ReadInt32();
        }

19 View Source File : 78e5d322-59a2-4324-ae3f-8bc8de32bdfc_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<char[]>(new System.Func<char[]>(u.Read_6), false);
            Member10 = u.ReadInt32();
            Member18 = u.ReadEmbeddedPointer<Struct_4[]>(new System.Func<Struct_4[]>(u.Read_7), false);
            Member20 = u.ReadInt32();
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 101))
            {
                Arm_101 = u.ReadEmbeddedPointer<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
                goto done;
            }
            if ((Selector == 102))
            {
                Arm_102 = u.ReadEmbeddedPointer<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
                goto done;
            }
            if ((Selector == 103))
            {
                Arm_103 = u.ReadEmbeddedPointer<Struct_14>(new System.Func<Struct_14>(u.Read_13), false);
                goto done;
            }
            if ((Selector == 104))
            {
                Arm_104 = u.ReadEmbeddedPointer<Struct_15>(new System.Func<Struct_15>(u.Read_14), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_13");
        done:
            return;
        }

19 View Source File : 1ff70682-0a51-30e8-076d-740be8cee98b_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadUInt3264();
            Member8 = u.ReadInt32();
            MemberC = u.ReadSByte();
            MemberD = u.ReadSByte();
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : 1ff70682-0a51-30e8-076d-740be8cee98b_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<Struct_2[]>(new System.Func<Struct_2[]>(u.Read_3), false);
        }

19 View Source File : 1ff70682-0a51-30e8-076d-740be8cee98b_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadUInt3264();
            Member10 = u.ReadInt32();
            Member14 = u.ReadSByte();
            Member15 = u.ReadSByte();
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : 98cd761e-e77d-41c8-a3c0-0fb756d90ec2_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.Read_1();
            Member1EE8 = u.ReadGuid();
            Member1EF8 = u.ReadGuid();
            Member1F08 = u.Read_3();
            Member1F10 = u.ReadInt64();
            Member1F18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F20 = u.ReadInt32();
            Member1F24 = u.ReadGuid();
            Member1F38 = u.ReadEmbeddedPointer<string[]>(new System.Func<string[]>(u.Read_5), false);
            Member1F40 = u.ReadInt32();
            Member1F48 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F50 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F58 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F60 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F68 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F70 = u.ReadInt64();
        }

19 View Source File : d22895ef-aff4-42c5-a5b2-b14466d34ab4_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadInt64();
            Member10 = u.ReadInt64();
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<Struct_12[]>(new System.Func<Struct_12[]>(u.Read_20), false);
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadGuid();
            Member10 = u.ReadEnum16();
            Member14 = u.ReadInt32();
            Member18 = u.ReadEmbeddedPointer<int[]>(new System.Func<int[]>(u.Read_21), false);
        }

19 View Source File : d22895ef-aff4-42c5-a5b2-b14466d34ab4_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadInt64();
            Member10 = u.ReadInt64();
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member20 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : a500d4c6-0dd1-4543-bc0c-d5f93486eaf8_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 0))
            {
                Arm_0 = u.ReadByte();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.Read_8();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_9();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_10();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_11();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadEmbeddedPointer<int>(new System.Func<int>(u.ReadInt32), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_8");
        done:
            return;
        }

19 View Source File : 2a82bb21-e44f-4791-9aa1-dfae788e2f43_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt16();
            Member8 = u.ReadEmbeddedPointer<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
            Member10 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member20 = u.ReadInt64();
            Member28 = u.ReadInt64();
            Member30 = u.ReadInt32();
            Member34 = u.ReadInt32();
            Member38 = u.ReadInt32();
        }

19 View Source File : 98cd761e-e77d-41c8-a3c0-0fb756d90ec2_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.Read_1();
            Member1EE8 = u.ReadGuid();
            Member1EF8 = u.ReadGuid();
            Member1F08 = u.Read_3();
            Member1F10 = u.ReadInt64();
            Member1F18 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F20 = u.ReadInt32();
            Member1F24 = u.ReadGuid();
            Member1F38 = u.ReadEmbeddedPointer<string[]>(new System.Func<string[]>(u.Read_5), false);
            Member1F40 = u.ReadInt32();
            Member1F48 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F50 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F58 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F60 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F68 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            Member1F70 = u.ReadInt64();
            Member1F78 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : 28098650-fe3c-4af4-8a41-8bcd284941c5_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_4), false);
        }

19 View Source File : 5c9a4cd7-ba75-45d2-9898-1773b3d1e5f1_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<Struct_2>(new System.Func<Struct_2>(u.Read_2), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_1");
        done:
            return;
        }

19 View Source File : 5c9a4cd7-ba75-45d2-9898-1773b3d1e5f1_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<Struct_5>(new System.Func<Struct_5>(u.Read_5), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_4");
        done:
            return;
        }

19 View Source File : 5c9a4cd7-ba75-45d2-9898-1773b3d1e5f1_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt64();
            Member8 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : a500d4c6-0dd1-4543-bc0c-d5f93486eaf8_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadEnum16();
            Member4 = u.Read_1();
            Member24 = u.ReadInt32();
            Member28 = u.ReadEmbeddedPointer<sbyte[]>(new System.Func<sbyte[]>(u.Read_14), false);
            Member30 = u.Read_6();
            Member40 = u.ReadInt32();
            Member44 = u.ReadInt32();
            Member48 = u.ReadInt32();
            Member4C = u.ReadInt32();
            Member50 = u.ReadInt32();
            Member54 = u.ReadInt32();
            Member58 = u.ReadInt32();
            Member5C = u.Read_15();
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member4 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<Struct_2[]>(new System.Func<Struct_2[]>(u.Read_16), false);
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<byte>(new System.Func<byte>(u.ReadByte), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer<int>(new System.Func<int>(u.ReadInt32), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadEmbeddedPointer<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.ReadEmbeddedPointer<Struct_5>(new System.Func<Struct_5>(u.Read_4), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
        done:
            return;
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<byte[]>(new System.Func<byte[]>(u.Read_17), false);
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<byte>(new System.Func<byte>(u.ReadByte), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadInt32();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_8");
        done:
            return;
        }

19 View Source File : 923c9623-db7f-4b34-9e6d-e86580f8ca2a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer<Struct_10[]>(new System.Func<Struct_10[]>(u.Read_19), false);
        }

See More Examples