vbptc

package
v0.0.0-...-e993038 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package vbptc implements the Variable length BPTC for embedded signalling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VBPTC

type VBPTC struct {
	// contains filtered or unexported fields
}

func New

func New(expectedRows uint8) *VBPTC

func (*VBPTC) AddBurst

func (v *VBPTC) AddBurst(bits []byte) error

AddBurst adds the embedded signalling data to the matrix.

func (*VBPTC) CheckAndRepair

func (v *VBPTC) CheckAndRepair() error

CheckAndRepair checks data for errors and tries to repair them

func (*VBPTC) Clear

func (v *VBPTC) Clear()

Clear resets the variable BPTC matrix and cursor position

func (*VBPTC) GetData

func (v *VBPTC) GetData(bits []byte) error

GetData extracts data bits (discarding Hamming (16,11) and parity check bits) from the vbptc matrix.

Jump to

Keyboard shortcuts

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