Table of Contents

Interface IGifExtension

Namespace
SixLabors.ImageSharp.Formats.Gif
Assembly
SixLabors.ImageSharp.dll

A base interface for GIF extensions.

public interface IGifExtension

Properties

ContentLength

Gets the length of the contents of this extension.

int ContentLength { get; }

Property Value

int

Label

Gets the label identifying the extensions.

byte Label { get; }

Property Value

byte

Methods

WriteTo(Span<byte>)

Writes the extension data to the buffer.

int WriteTo(Span<byte> buffer)

Parameters

buffer Span<byte>

The buffer to write the extension to.

Returns

int

The number of bytes written to the buffer.