fvar

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(w io.Writer, v Var) (int, error)

Types

type Code

type Code [2]uint8
var (
	MediaFile        Code = [2]uint8{'m', 'f'}
	SequenceProducer Code = [2]uint8{'s', 'p'}
)

type Var

type Var struct {
	Code [2]uint8
	Data []uint8
}

func Read

func Read(r io.Reader) (Var, error)

func ReadAll added in v0.2.2

func ReadAll(b []byte) ([]Var, error)

func (Var) CodeString

func (v Var) CodeString() string

func (Var) DataString

func (v Var) DataString() string

func (Var) Len

func (v Var) Len() uint16

func (Var) String

func (v Var) String() string

Jump to

Keyboard shortcuts

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