IRecordObject IRecordTypeHandler.Handle(IAnalyze analyze) { var record = new BinaryObjectString(); record.ObjectId = analyze.Reader.ReadInt32(); Assert.IsObjectId(record.ObjectId); record.Value = new LengthPrefixedString(analyze); return(record); }
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); }