Documentation ¶ Index ¶ func Write(w io.Writer, v Var) (int, error) type Code type Var func Read(r io.Reader) (Var, error) func ReadAll(b []byte) ([]Var, error) func (v Var) CodeString() string func (v Var) DataString() string func (v Var) Len() uint16 func (v Var) String() string 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 Source Files ¶ View all Source files code.go fvar.go fvar_reader.go Click to show internal directories. Click to hide internal directories.