Documentation ¶
Index ¶
Constants ¶
View Source
const (
PaletteFlagName = 0x0001
)
Variables ¶
View Source
var (
ErrTooShort = errors.New("too short")
)
Functions ¶
Types ¶
type Cel ¶
type Cel struct { ChunkBase // contains filtered or unexported fields }
func (*Cel) UnmarshalBinary ¶
type CelCompressed ¶
type CelCompressed struct { Cel // contains filtered or unexported fields }
func (*CelCompressed) UnmarshalBinary ¶
func (c *CelCompressed) UnmarshalBinary(data []byte) error
type CelLinked ¶
type CelLinked struct { Cel // contains filtered or unexported fields }
func (*CelLinked) UnmarshalBinary ¶
type CelRaw ¶
type CelRaw struct { Cel // contains filtered or unexported fields }
func (*CelRaw) UnmarshalBinary ¶
type ChunkBase ¶
type ChunkBase struct {
// contains filtered or unexported fields
}
func (*ChunkBase) UnmarshalBinary ¶
type ChunkType ¶
type ChunkType uint16
const ( ChunkTypeOldPalette1 ChunkType = 0x0004 ChunkTypeOldPalette2 ChunkType = 0x0011 ChunkTypeLayer ChunkType = 0x2004 ChunkTypeCel ChunkType = 0x2005 ChunkTypeMask ChunkType = 0x2016 ChunkTypePath ChunkType = 0x2017 ChunkTypeFrameTags ChunkType = 0x2018 ChunkTypePalette ChunkType = 0x2019 ChunkTypeUserData ChunkType = 0x2020 )
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
func (*Header) UnmarshalBinary ¶
type Layer ¶
type Layer struct { ChunkBase // contains filtered or unexported fields }
func (*Layer) UnmarshalBinary ¶
type Palette ¶
type Palette struct { ChunkBase // contains filtered or unexported fields }
func (*Palette) UnmarshalBinary ¶
type PaletteEntry ¶
type PaletteEntry struct {
// contains filtered or unexported fields
}
func (*PaletteEntry) UnmarshalBinary ¶
func (e *PaletteEntry) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.