GtfDdsSharp GtfDdsSharp
GtfDdsSharp GtfDdsSharp
DocFX + Singulink = ♥

Search Results for

    Constructor GtfImage

    GtfImage(string)

    Initializes a new instance of the GtfImage class from the specified file.

    Declaration
    public GtfImage(string path)
    Parameters
    Type Name Description
    string path

    The path to the GTF file.

    GtfImage(Stream)

    Initializes a new instance of the GtfImage class from the specified stream.

    Declaration
    public GtfImage(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream containing the GTF file data.

    GtfImage(byte[])

    Initializes a new instance of the GtfImage class from the specified array.

    Declaration
    public GtfImage(byte[] buffer)
    Parameters
    Type Name Description
    byte[] buffer

    An array of bytes containing the GTF file data.

    GtfImage(byte[], int, int)

    Initializes a new instance of the GtfImage class from the specified array region.

    Declaration
    public GtfImage(byte[] buffer, int offset, int count)
    Parameters
    Type Name Description
    byte[] buffer

    An array of bytes containing the GTF file data.

    int offset

    The zero-based byte offset at which to read bytes.

    int count

    The maximum number of bytes to read.

    GtfImage(ReadOnlySpan<byte>)

    Initializes a new instance of the GtfImage class from the specified region of memory.

    Declaration
    public GtfImage(ReadOnlySpan<byte> buffer)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> buffer

    The region of memory containing the GTF file data.

    GtfImage(nint, uint)

    Initializes a new instance of the GtfImage class from the specified memory address.

    Declaration
    public GtfImage(nint pointer, uint length)
    Parameters
    Type Name Description
    nint pointer

    The pointer to the GTF file data.

    uint length

    The maximum number of bytes to read.