ttyread

package module
v0.0.0-...-67501e8 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2014 License: MIT Imports: 2 Imported by: 5

README

ttyread

ttyrec utility for parsing ttyrecord

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Header type

type TimeVal

type TimeVal struct {
	Sec  int32
	Usec int32
}

TimeVal type

func (TimeVal) Add

func (tv1 TimeVal) Add(tv2 TimeVal) TimeVal

Add returns sum of TimeVal

func (TimeVal) Subtract

func (tv1 TimeVal) Subtract(tv2 TimeVal) TimeVal

Subtract returns diff of TimeVal

type TtyData

type TtyData struct {
	TimeVal TimeVal
	Buffer  *[]byte
}

TtyData type

type TtyReader

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

TtyReader type

func NewTtyReader

func NewTtyReader(r io.Reader) *TtyReader

NewTtyReader returns TtyReader instance

func (*TtyReader) ReadData

func (r *TtyReader) ReadData() (data *TtyData, err error)

ReadData returns next TtyData

Directories

Path Synopsis
cmd
ttyplay command

Jump to

Keyboard shortcuts

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