Interface IGifExtension
A base interface for GIF extensions.
Namespace: SixLabors.ImageSharp.Formats.Gif
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IGifExtension
Properties
| Edit this page View SourceContentLength
Gets the length of the contents of this extension.
Declaration
int ContentLength { get; }
Property Value
Type | Description |
---|---|
int |
Label
Gets the label identifying the extensions.
Declaration
byte Label { get; }
Property Value
Type | Description |
---|---|
byte |
Methods
| Edit this page View SourceWriteTo(Span<byte>)
Writes the extension data to the buffer.
Declaration
int WriteTo(Span<byte> buffer)
Parameters
Type | Name | Description |
---|---|---|
Span<byte> | buffer | The buffer to write the extension to. |
Returns
Type | Description |
---|---|
int | The number of bytes written to the buffer. |