utility

package
v0.0.0-...-283c566 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressNew

func CompressNew(v bool, dst string, src ...string)

CompressNew compresses the files at src into dst based on method.

func Decompress

func Decompress(v bool, dst, src string)

Decompress decompresses an archive or compressed file and retrieves the contents. dst must be a directory. If dst is a nil string then the path from the source file is used.

func GenerateRandomImage

func GenerateRandomImage(v bool, x, y int, dst io.Writer)

func StringToBytes

func StringToBytes(v bool, l int, s string) (bs []byte)

StringToBytes converts a string to raw byte form. The variable l defines register size for little-endian. 0 value indicates big-endian

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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