Class BufferedMediaContentSource
Defines a media content source that refers to a buffered content
Implements
ImageVault.Abstractions.IMediaContentSource
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.Data
Assembly: ImageVault.Core.dll
Syntax
public class BufferedMediaContentSource : MediaContentSource, IDisposable
Constructors
BufferedMediaContentSource(Byte[])
Declaration
public BufferedMediaContentSource(byte[] content)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | content |
Properties
Length
Declaration
public override long Length { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
Dispose(Boolean)
Called when the object
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetBytes()
Gets the content buffer of the content source.
Declaration
public byte[] GetBytes()
Returns
Type | Description |
---|---|
System.Byte[] |
GetStream()
Declaration
public override Stream GetStream()
Returns
Type | Description |
---|---|
System.IO.Stream |
Overrides
Implements
ImageVault.Abstractions.IMediaContentSource
System.IDisposable