viterbi_codec

package
v0.0.0-...-12667e7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(codec *viterbi.ViterbiCodec, data []int) ([]byte, error)

func Encode

func Encode(codec *viterbi.ViterbiCodec, data []byte) ([]int, error)

func Init

func Init(params Params) (*viterbi.ViterbiCodec, error)

Function that does Init and returns viterbi_codec

Types

type Params

type Params struct {
	Constraint         int
	Polynomials        []int
	ReversePolynomials bool
}

Jump to

Keyboard shortcuts

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