Search Results for

    Show / Hide Table of Contents

    Class Cluster

    A Matroska cluster element.

    Inheritance
    System.Object
    Element
    Cluster
    Inherited Members
    Element.WriteDefaultValues
    Element.SizeLength
    Element.Length
    Element.Size
    Element.GetBytes()
    Element.SerializeVariableInteger(Int64)
    Element.SerializeVariableInteger(Int64, Int32)
    Element.WriteVariableInteger(Int64, ByteOutputStream)
    Element.WriteVariableInteger(Int64, ByteOutputStream, Int32)
    Element.ReadVariableInteger(Byte[], Int32, Int32)
    Element.WriteUnsignedInteger(Int64, Byte[], ByteOutputStream)
    Element.ReadUnsignedInteger(Byte[])
    Element.WriteSignedInteger(Int64, Byte[], ByteOutputStream)
    Element.ReadSignedInteger(Byte[])
    Element.WriteBool(Boolean, Byte[], ByteOutputStream)
    Element.ReadBool(Byte[])
    Element.WriteFloat(Single, Byte[], ByteOutputStream)
    Element.ReadFloat(Byte[])
    Element.WriteDouble(Double, Byte[], ByteOutputStream)
    Element.ReadDouble(Byte[])
    Element.WriteDate(DateTime, Byte[], ByteOutputStream)
    Element.ReadDate(Byte[])
    Element.WriteString(String, Byte[], ByteOutputStream)
    Element.ReadString(Byte[])
    Element.WriteUtf8(String, Byte[], ByteOutputStream)
    Element.ReadUtf8(Byte[])
    Element.WriteGuid(Guid, Byte[], ByteOutputStream)
    Element.ReadGuid(Byte[])
    Element.Write(Byte[], Byte[], ByteOutputStream)
    Element.ReadId(Byte[], Int32, Int32)
    Element.ReadValue(Byte[], Int32, Int32)
    Element.Compare(Byte[], Byte[])
    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
    Element.Id

    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
    Element.GetInnerBytes()

    Merge(Cluster)

    Merges another Cluster into this one.

    Declaration
    public void Merge(Cluster cluster)
    Parameters
    Type Name Description
    Cluster cluster

    The Cluster.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0