Example #1
0
        public void Unmarshal(NdrBuffer buffer)
        {
            buffer.ReadDeferredConformantVaryingArray <char>(v => Id = v.ToString());

            Type  = (ClaimType)buffer.ReadInt16LittleEndian();
            Count = buffer.ReadInt32LittleEndian();

            buffer.ReadDeferredStructUnion(this);
        }
Example #2
0
        public void Unmarshal(NdrBuffer buffer)
        {
            if (buffer == null)
            {
                throw new ArgumentNullException(nameof(buffer));
            }

            buffer.ReadDeferredConformantVaryingArray <char>(v => this.Id = v.ToString());

            this.Type  = (ClaimType)buffer.ReadInt16LittleEndian();
            this.Count = buffer.ReadInt32LittleEndian();

            buffer.ReadDeferredStructUnion(this);
        }