carrier

package
v0.0.0-...-9439de2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(r io.Reader) (*carrier, error)

Types

type Carrier

type Carrier interface {
	Inject([]uint8) error
	GetPayload() []uint8
	SaveTo(f io.Writer) error
}

func NewCarrierFromBytes

func NewCarrierFromBytes(b []byte) (Carrier, error)

func NewCarrierFromFile

func NewCarrierFromFile(fileName string) (Carrier, error)

Jump to

Keyboard shortcuts

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