/// <summary> /// Imports the contents of a user strings stream and indexes all present strings. /// </summary> /// <param name="stream">The stream to import.</param> public void ImportStream(BlobStream stream) { MetadataStreamBufferHelper.CloneBlobHeap(stream, _writer, (index, newIndex) => _blobs[stream.GetBlobByIndex(index)] = newIndex); }
/// <summary> /// Imports the contents of a user strings stream and indexes all present strings. /// </summary> /// <param name="stream">The stream to import.</param> public void ImportStream(UserStringsStream stream) { MetadataStreamBufferHelper.CloneBlobHeap(stream, _writer, (index, newIndex) => _strings[stream.GetStringByIndex(index)] = newIndex); }