instructions

package
v0.0.0-...-505ff0c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const AttrHash = "0000000000000000000000000000000000000000000000000000000000000000"
View Source
const CriticalAttrHash = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
View Source
const End1 = ") = "
View Source
const End2 = AttrHash
View Source
const Initial = "SHA256 ("

Variables

This section is empty.

Functions

func PackToString

func PackToString(instr Instruction, withHash bool) string

Types

type AttributeIns

type AttributeIns interface {
	Instruction()
	Filename() string
	Hash() string

	Attribute()

	AssociatedFile() string
	EncodingMethod() string
	Critical() bool
	AttrMajorName() string
	AttrExtendedName() string
	AttrDataEncoded() string

	IsTail() bool
}

type FileIns

type FileIns interface {
	Instruction()
	Hash() string
	Filename() string

	File()
}

type Instruction

type Instruction interface {
	Instruction()
	Hash() string
	Filename() string
}

func UnpackInstruction

func UnpackInstruction(instr string) Instruction

Jump to

Keyboard shortcuts

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