Interface IGifExtension
A base interface for GIF extensions.
Namespace: SixLabors.ImageSharp.Formats.Gif
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IGifExtension
Properties
| Improve this Doc View SourceContentLength
Gets the length of the contents of this extension.
Declaration
int ContentLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
Label
Gets the label identifying the extensions.
Declaration
byte Label { get; }
Property Value
Type | Description |
---|---|
Byte |
Methods
| Improve this Doc 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 |
---|---|
Int32 | The number of bytes written to the buffer. |