src/SimpleEntry.cs
/// <summary>
/// Gets the content of the blob as a byte array.
/// </summary>
/// <returns>The content of the blob as a byte array or null if no blob.</returns>
Gets the content of the blob as a byte array.
Gets the content of the blob as a byte array .
public byte[] GetBlobAsBytes()
        {
            if (blob == null)
            {
                return null;
            }
            var stream = blob.GetContentStream();
            var memoryStream = new MemoryStream();
            stream.CopyTo(memoryStream);
            memoryStream.Position = 0;
            return memoryStream.ToArray();
        }
public byte [ ] GetBlobAsBytes ( ) { if ( blob == null ) { return null ; } var stream = blob . GetContentStream ( ) ; var memoryStream = new MemoryStream ( ) ; stream . CopyTo ( memoryStream ) ; memoryStream . Position = 0 ; return memoryStream . ToArray ( ) ; }
Gets the content of the blob as a byte array.
Gets the content of the blob as a byte array .
The content of the blob as a byte array or null if no blob.
The content of the blob as a byte array or null if no blob .