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); }
public void WriteUnicodeString(string value) { NDRUnicodeString unicodeString = new NDRUnicodeString(value); unicodeString.Write(this); }