/// <summary>
        /// Creates a <see cref="BlobIdentifier"/> from the stream provided
        /// </summary>
        /// <param name="blob">The content stream against which the identifier should be created</param>
        /// <returns>
        /// A <see cref="BlobIdentifier"/> instance representing the unique identifier for binary the content.
        /// </returns>
        public static BlobIdentifier CalculateBlobIdentifier(this Stream blob)
        {
            blob.Position = 0;
            var result = VsoHash.CalculateBlobIdentifier(blob);

            blob.Position = 0;
            return(result);
        }
 /// <summary>
 /// Creates a <see cref="BlobIdentifier"/> from the stream provided
 /// </summary>
 /// <param name="blob">The content bytes against which the identifier should be created.</param>
 /// <returns>
 /// A <see cref="BlobIdentifier"/> instance representing the unique identifier for binary the content.
 /// </returns>
 public static BlobIdentifier CalculateBlobIdentifier(this byte[] blob)
 {
     return(VsoHash.CalculateBlobIdentifier(blob));
 }