Class BlobExtensions
Extends Blob with extension methods
Inheritance
System.Object
BlobExtensions
Namespace: EPiServer.Framework.Blobs
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public static class BlobExtensions : Object
Methods
ReadAllBytes(Blob)
Writes the blob stream contents to a byte array.
Declaration
public static byte[] ReadAllBytes(this Blob blob)
Parameters
Type | Name | Description |
---|---|---|
Blob | blob | The blob |
Returns
Type | Description |
---|---|
System. |
A new byte array. |
WriteAllBytes(Blob, Byte[])
Writes a whole sequence of bytes to the blob.
Declaration
public static void WriteAllBytes(this Blob blob, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
Blob | blob | The destination blob |
System. |
data | The data |