image

package
v0.0.0-...-19051da Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInvalidLength = errors.New("image length not valid")
	ErrorInvalidHeader = errors.New("header is not valid")
	ErrorInvalidCRC    = errors.New("CRC is not valid")
)

Functions

func Build

func Build(code []byte, nvram []byte, isRam bool) []byte

func ChecksumUpdate

func ChecksumUpdate(input []byte, isRam bool) bool

func Extract

func Extract(image []byte) ([]byte, []byte, bool, error)

func Validate

func Validate(image []byte, isRam bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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