dump

package
v0.0.0-...-4cbc0eb Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

dump is used to generate png files based on hex data of a file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Hex

func Hex(data interface{}, format string, a ...interface{})

func HexRange

func HexRange(data interface{}, size int, format string, a ...interface{})

func IsActive

func IsActive() bool

func New

func New(path string)

func WriteFileClose

func WriteFileClose(path string) error

WriteFileClose writes to the provided path and closes the dump. It will also append .png if not found

Types

type Dump

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

func (*Dump) Hex

func (e *Dump) Hex(data interface{}, size int, format string, a ...interface{})

Jump to

Keyboard shortcuts

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