Versions in this module Expand all Collapse all v0 v0.1.1 Jun 21, 2026 v0.1.0 Jun 19, 2026 Changes in this version + const Magic + var ErrNoSuchElement = fmt.Errorf("No such entry") + type Entry struct + Name string + Where string + func (entry Entry) LoadContents() ([]byte, error) + type ErrInvalidEntryTerminator struct + Bad uint16 + func (e ErrInvalidEntryTerminator) Error() string + type ErrInvalidMagic struct + Bad uint32 + func (e ErrInvalidMagic) Error() string + type ErrUnsupportedVersion struct + Bad uint32 + func (e ErrUnsupportedVersion) Error() string + type VPK struct + Entries []Entry + func FromFile(name string) (VPK, error) + func (pak VPK) LoadEntry(name string) ([]byte, error)