lib

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PNGHEADERSTR = "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A"

Functions

func Read_content

func Read_content(l *log.Logger, config *Config) string

func Write_content

func Write_content(l *log.Logger, config *Config)

func Write_content_dynamic_config

func Write_content_dynamic_config(
	l *log.Logger,
	writePath string,
	sourcePath string,
	destPath string)

func Write_content_from_data

func Write_content_from_data(l *log.Logger, action string, content []byte) string

Types

type Chunk

type Chunk struct {
	ChunkLen  uint32
	ChunkType string
	ChunkData []byte
	ChunkCRC  uint32
}

type Config

type Config struct {
	Verbose    bool
	ReWriteCRC bool
	Lenient    bool
	Overwrite  bool
	InPlace    bool
	Display    bool

	ActionRead  string
	ActionEmbed string
	SourceFile  string
	DestFile    string
}

type XmlChunk

type XmlChunk struct {
	Diagram string `xml:"diagram"`
}

Jump to

Keyboard shortcuts

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