internal int GetBlobIndex(BlobWriter stream)
 {
     // TODO: avoid making a copy if the blob exists in the index
     return(GetBlobIndex(stream.ToImmutableArray()));
 }