Beispiel #1
0
        public void WriteTopLevelUnicodeStringPointer(string value)
        {
            if (value == null)
            {
                WriteUInt32(0);
                return;
            }

            // Note: We do not bother searching for existing values
            uint referentID = GetNextReferentID();

            WriteUInt32(referentID);
            NDRUnicodeString unicodeString = new NDRUnicodeString(value);

            unicodeString.Write(this);
            m_referentToInstance.Add(referentID, unicodeString);
        }
Beispiel #2
0
        public void WriteUnicodeString(string value)
        {
            NDRUnicodeString unicodeString = new NDRUnicodeString(value);

            unicodeString.Write(this);
        }