gifmeta

package
v0.0.0-...-5d2067b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(w io.Writer, r io.Reader, append ...Extension) error

func Blocks

func Blocks(b []byte) (out [][]byte)

Types

type Extension

type Extension struct {
	Type   ExtensionType
	Blocks [][]byte
}

func Read

func Read(r io.Reader, fs ...func(e *Extension) bool) ([]Extension, error)

func (*Extension) Read

func (e *Extension) Read(r io.Reader) error

func (*Extension) String

func (e *Extension) String() string

func (Extension) Write

func (e Extension) Write(w io.Writer) error

type ExtensionType

type ExtensionType extensionType
const (
	Comment        ExtensionType = 0xFE
	PlainText      ExtensionType = 0x01
	Application    ExtensionType = 0xFF
	GraphicControl ExtensionType = 0xF9
)

Extension types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL