Beispiel #1
0
        public void Marshal(NdrBuffer buffer)
        {
            buffer.WriteInt32LittleEndian(ClaimsArray.Count());
            buffer.WriteDeferredStructArray(ClaimsArray);

            buffer.WriteInt16LittleEndian(ReservedType);
            buffer.WriteInt32LittleEndian(ReservedFieldSize);
            buffer.WriteDeferredConformantArray <byte>(ReservedField);
        }
Beispiel #2
0
        public override void WriteBody(NdrBinaryStream stream)
        {
            stream.WriteUnsignedInt(ClaimsArray.Count());
            stream.WriteDeferredArray(ClaimsArray);

            stream.WriteShort(ReservedType);
            stream.WriteUnsignedInt(ReservedFieldSize);
            stream.WriteBytes(ReservedField);
        }