Documentation ¶
Index ¶
- type Archive
- func (a *Archive) ExtractFile(ef *ExtractedFile, index int64) error
- func (a *Archive) FileIsDirectory(i int64) bool
- func (a *Archive) FileIsSupported(i int64) error
- func (a *Archive) Free()
- func (a *Archive) GetFileCount() int64
- func (a *Archive) GetFileStat(i int64) *C.dmc_unrar_file
- func (a *Archive) GetFilename(i int64) (string, error)
- type ExtractedFile
- type FileReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct {
// contains filtered or unexported fields
}
func OpenArchiveFromPath ¶
func (*Archive) ExtractFile ¶
func (a *Archive) ExtractFile(ef *ExtractedFile, index int64) error
func (*Archive) FileIsDirectory ¶
func (*Archive) FileIsSupported ¶
func (*Archive) GetFileCount ¶
func (*Archive) GetFileStat ¶
func (a *Archive) GetFileStat(i int64) *C.dmc_unrar_file
type ExtractedFile ¶
type ExtractedFile struct {
// contains filtered or unexported fields
}
func NewExtractedFile ¶
func NewExtractedFile(writer io.Writer) *ExtractedFile
func (*ExtractedFile) Free ¶
func (ef *ExtractedFile) Free()
type FileReader ¶
type FileReader struct {
// contains filtered or unexported fields
}
func NewFileReader ¶
func NewFileReader(reader io.ReaderAt, size int64) *FileReader
func (*FileReader) Free ¶
func (fr *FileReader) Free()
Click to show internal directories.
Click to hide internal directories.