mockWFM

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WFMFloatParser

type WFMFloatParser struct{}

WFMFloatParser interprets the passed byte data as as follows <traceCount uint64>,<datapointsPerTrace uint64>,<traceCount*datapointsPerTrace float64 objects> followed by float64 objects. See CreateFloatSourceParserPair for easy instantiation

func (WFMFloatParser) GetNumberOfTraces

func (m WFMFloatParser) GetNumberOfTraces(raw []byte) (int, error)

func (WFMFloatParser) ParseTraces

func (m WFMFloatParser) ParseTraces(raw []byte, buffer [][]float64) ([][]float64, error)

Jump to

Keyboard shortcuts

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