Interface IMediaBuffer

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.dll

    Provides functionality to read and write the media buffer.

    public interface IMediaBuffer

    Properties

    View Source

    IsReadOnly

    Gets the value indicating whether the IMediaBuffer is read-only.

    Declaration
    bool IsReadOnly { get; }
    Property Value
    Type Description
    bool

    true if the IMediaBuffer is read-only; otherwise, false.

    View Source

    this[int]

    Gets or sets a value at the specified index.

    Declaration
    byte this[int index] { get; set; }
    Parameters
    Type Name Description
    int index

    The index of the value to get or set.

    Property Value
    Type Description
    byte
    View Source

    Length

    Gets the size of the buffer, in bytes.

    Declaration
    int Length { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    CopyFrom(byte[], int, int, int)

    Copies data from a byte array to the buffer.

    Declaration
    void CopyFrom(byte[] source, int startIndex, int length, int offset)
    Parameters
    Type Name Description
    byte[] source

    The array to copy from.

    int startIndex

    The zero-based index in the destination array where copying should start.

    int length

    The number of elements to copy.

    int offset

    The zero-based index in the buffer where copying should start.

    View Source

    CopyFrom(byte[], int, int)

    Copies data from a byte array to the buffer.

    Declaration
    void CopyFrom(byte[] source, int startIndex, int length)
    Parameters
    Type Name Description
    byte[] source

    The array to copy from.

    int startIndex

    The zero-based index in the destination array where copying should start.

    int length

    The number of elements to copy.

    View Source

    CopyTo(byte[], int, int, int)

    Copies data from the buffer to a byte array.

    Declaration
    void CopyTo(byte[] dest, int startIndex, int length, int offset)
    Parameters
    Type Name Description
    byte[] dest

    The array to copy to.

    int startIndex

    The zero-based index in the source array where copying should start.

    int length

    The number of array elements to copy.

    int offset

    The zero-based index in the buffer where copying should start.

    View Source

    CopyTo(byte[], int, int)

    Copies data from the buffer to a byte array.

    Declaration
    void CopyTo(byte[] dest, int startIndex, int length)
    Parameters
    Type Name Description
    byte[] dest

    The array to copy to.

    int startIndex

    The zero-based index in the source array where copying should start.

    int length

    The number of array elements to copy.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX