scs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogEntry

type CatalogEntry struct {
	HashedPath uint64
	Offset     int32

	Type  EntryType
	CRC   uint32
	Size  int32
	ZSize int32
	// contains filtered or unexported fields
}

type EntryType

type EntryType int32
const (
	EntryTypeUncompressedFile EntryType = iota
	EntryTypeUncompressedNames
	EntryTypeCompressedFile
	EntryTypeCompressedNames
	EntryTypeUncompressedFileCopy
	EntryTypeUncompressedNamesCopy
	EntryTypeCompressedFileCopy
	EntryTypeCompressedNamesCopy
)

See https://forum.scssoft.com/viewtopic.php?p=644638#p644638

type File

type File struct {
	Name string

	CatalogEntry
	// contains filtered or unexported fields
}

func (*File) Open

func (f *File) Open() (io.ReadCloser, error)

type Reader

type Reader struct {
	Files []*File
}

func NewReader

func NewReader(r io.ReaderAt, size int64) (*Reader, error)

Jump to

Keyboard shortcuts

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