vpk

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: MIT Imports: 10 Imported by: 0

README

go-vpk

Go library for opening .vpk files.

Install

$ go get github.com/aoisensi/go-vpk

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloser

type ReadCloser struct {
	Reader
	// contains filtered or unexported fields
}

func OpenReader

func OpenReader(name string) (*ReadCloser, error)

func (*ReadCloser) Close

func (r *ReadCloser) Close() error

type Reader

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

func NewReader

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

func (*Reader) AddSubArchive

func (reader *Reader) AddSubArchive(index int, r io.ReaderAt, size int64)

func (*Reader) Open

func (r *Reader) Open(name string) (fs.File, error)

Jump to

Keyboard shortcuts

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