mdUnzipFile

package
v0.0.0-...-6c90f4e Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileData

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

mdencode mdUnzipFile struct

func Init

func Init(inputFile string, outputFile string, threadCount uint64, postvalidate bool) (md *FileData)

Init returns a new mdUnzipFile object

func (*FileData) Convert32

func (l *FileData) Convert32(data []byte) (uint32, error)

convert 32

func (*FileData) Convert64

func (l *FileData) Convert64(data []byte) (uint64, error)

convert 64

func (*FileData) DecodeFile

func (l *FileData) DecodeFile() int

DecodeFile decodes an mdzip file and writes the decoded blocks to an output file it runs a parallel modulus scan on the signature group

func (*FileData) OpenFile

func (l *FileData) OpenFile()

Open the input and output files

func (*FileData) PostValidate

func (l *FileData) PostValidate()

post validate the output mdunzipped file with the file hash signature list

func (*FileData) PrintType

func (l *FileData) PrintType()

display the object type

func (*FileData) Printlog

func (l *FileData) Printlog(v ...interface{})

write to the log

func (*FileData) WriteFile

func (l *FileData) WriteFile(outf *os.File, bytes []byte)

Write the decoded file blocks

type Hashlist

type Hashlist struct {
	HashListString string
	HashListNames  []string
	HexListNames   []string
}

Jump to

Keyboard shortcuts

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