pfs

package
v0.0.0-...-87b5bfd Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByCRC

type ByCRC []*PfsEntry

func (ByCRC) Len

func (s ByCRC) Len() int

func (ByCRC) Less

func (s ByCRC) Less(i, j int) bool

func (ByCRC) Swap

func (s ByCRC) Swap(i, j int)

type ByOffset

type ByOffset []*PfsEntry

func (ByOffset) Len

func (s ByOffset) Len() int

func (ByOffset) Less

func (s ByOffset) Less(i, j int) bool

func (ByOffset) Swap

func (s ByOffset) Swap(i, j int)

type ChunkEntry

type ChunkEntry struct {
	// contains filtered or unexported fields
}

type Pfs

type Pfs struct {
	ShortName string
	Files     []*PfsEntry
	// contains filtered or unexported fields
}

Pfs is a compression/zip format for everquest

func Decode

func Decode(r io.ReadSeeker) (*Pfs, error)

Decode will load a pfs file

func (*Pfs) Encode

func (pfs *Pfs) Encode(w io.WriteSeeker) error

type PfsEntry

type PfsEntry struct {
	Name   string
	Data   []byte
	CRC    uint32
	Offset uint32
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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