unarrc

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Zlib Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtEof

func AtEof(ar *Archive) bool

AtEof .

func Close

func Close(stream *Stream)

Close .

func CloseArchive

func CloseArchive(ar *Archive)

CloseArchive .

func EntryGetFiletime

func EntryGetFiletime(ar *Archive) int

EntryGetFiletime .

func EntryGetName

func EntryGetName(ar *Archive) string

EntryGetName .

func EntryGetOffset

func EntryGetOffset(ar *Archive) int

EntryGetOffset .

func EntryGetRawName

func EntryGetRawName(ar *Archive) string

EntryGetRawName .

func EntryGetSize

func EntryGetSize(ar *Archive) uint

EntryGetSize .

func EntryUncompress

func EntryUncompress(ar *Archive, buffer unsafe.Pointer, count uint) bool

EntryUncompress .

func GetGlobalComment

func GetGlobalComment(ar *Archive, buffer unsafe.Pointer, count uint) uint

GetGlobalComment .

func ParseEntry

func ParseEntry(ar *Archive) bool

ParseEntry .

func ParseEntryAt

func ParseEntryAt(ar *Archive, offset int64) bool

ParseEntryAt .

func ParseEntryFor

func ParseEntryFor(ar *Archive, entryName string) bool

ParseEntryFor .

func Read

func Read(stream *Stream, buffer unsafe.Pointer, count uint) uint

Read .

func Seek

func Seek(stream *Stream, offset int64, origin int) bool

Seek .

func Skip

func Skip(stream *Stream, count int64) bool

Skip .

func Tell

func Tell(stream *Stream) int

Tell .

Types

type Archive

type Archive C.ar_archive

Archive .

func Open7zArchive

func Open7zArchive(stream *Stream) *Archive

Open7zArchive .

func OpenRarArchive

func OpenRarArchive(stream *Stream) *Archive

OpenRarArchive .

func OpenTarArchive

func OpenTarArchive(stream *Stream) *Archive

OpenTarArchive .

func OpenZipArchive

func OpenZipArchive(stream *Stream, deflatedonly bool) *Archive

OpenZipArchive .

type Stream

type Stream C.ar_stream

Stream .

func OpenFile

func OpenFile(path string) *Stream

OpenFile .

func OpenMemory

func OpenMemory(data unsafe.Pointer, datalen uint) *Stream

OpenMemory .

Jump to

Keyboard shortcuts

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