embed

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmbedReleaseDataInBinary

func EmbedReleaseDataInBinary(binPath string, releasePath string, outputPath string) error

EmbedReleaseDataInBinary embeds the release data in the binary at the end of the file and writes the new binary to the output path.

func EmbedReleaseDataInBinaryReader

func EmbedReleaseDataInBinaryReader(binReader io.Reader, binSize int64, releaseData []byte) (io.Reader, int64)

EmbedReleaseDataInBinaryReader embeds the release data in the binary at the end of the binary reader, and returns a new binary reader with the embedded release data and the new binary size.

func ExtractReleaseDataFromBinary

func ExtractReleaseDataFromBinary(exe string) ([]byte, error)

ExtractReleaseDataFromBinary extracts the release data from the binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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