internal void WriteObjectString(int objectId, String value) { InternalWriteItemNull(); if (objectWriter.IsCrossAppDomain()) { if (binaryCrossAppDomainString == null) { binaryCrossAppDomainString = new BinaryCrossAppDomainString(); } binaryCrossAppDomainString.Set(objectId, objectWriter.CrossAppDomainArrayAdd(value)); binaryCrossAppDomainString.Dump(); binaryCrossAppDomainString.Write(this); } else { if (binaryObjectString == null) { binaryObjectString = new BinaryObjectString(); } binaryObjectString.Set(objectId, value); binaryObjectString.Dump(); binaryObjectString.Write(this); } }
internal void WriteObjectString(int objectId, String value) { InternalWriteItemNull(); if (binaryObjectString == null) { binaryObjectString = new BinaryObjectString(); } binaryObjectString.Set(objectId, value); #if _DEBUG binaryObjectString.Dump(); #endif binaryObjectString.Write(this); }