utils

package
v0.0.0-...-ab30f0b Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreProcessImage

func PreProcessImage(dat *os.File) (*bytes.Reader, error)

PreProcessImage reads to buffer from file handle

func WriteData

func WriteData(r *bytes.Reader, c *models.CmdLineOpts, b []byte)

WriteData writes new data to offset

func XorDecode

func XorDecode(encode []byte, key string) []byte

XorDecode returns decoded byte array

func XorEncode

func XorEncode(decode []byte, key string) []byte

XorEncode returns encoded byte array

Types

This section is empty.

Jump to

Keyboard shortcuts

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