Class Cluster
A Matroska cluster element.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch.Matroska
Assembly: FM.LiveSwitch.dll
Syntax
public class Cluster : Element
Constructors
Cluster()
Initializes a new instance of the Cluster class.
Declaration
public Cluster()
Cluster(Byte[])
Initializes a new instance of the Cluster class.
Declaration
public Cluster(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | The bytes. |
Properties
BlockGroups
Gets or sets the block group elements.
Declaration
public BlockGroup[] BlockGroups { get; set; }
Property Value
Type | Description |
---|---|
BlockGroup[] |
DefaultTimecode
Gets the default timecode.
Declaration
public static long DefaultTimecode { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
EbmlId
Gets the EBML ID.
Declaration
public static byte[] EbmlId { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Id
Gets the EBML ID.
Declaration
public override byte[] Id { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Overrides
Position
Gets or sets the position.
Declaration
public long? Position { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PrevSize
Gets or sets the previous size.
Declaration
public long? PrevSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
SimpleBlocks
Gets or sets the simple block elements.
Declaration
public SimpleBlock[] SimpleBlocks { get; set; }
Property Value
Type | Description |
---|---|
SimpleBlock[] |
Timecode
Gets or sets the timecode.
Declaration
public long Timecode { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
GetInnerBytes()
Gets the inner bytes.
Declaration
protected override byte[] GetInnerBytes()
Returns
Type | Description |
---|---|
System.Byte[] |
Overrides
Merge(Cluster)
Merges another Cluster into this one.
Declaration
public void Merge(Cluster cluster)
Parameters
Type | Name | Description |
---|---|---|
Cluster | cluster | The Cluster. |