type Reader … // NewReader creates a new reader for the trace wire format. func NewReader(r io.Reader) (*Reader, error) { … } // Version returns the version of the trace that we're reading. func (r *Reader) Version() version.Version { … } // ReadEvent reads and returns the next trace event in the byte stream. func (r *Reader) ReadEvent() (Event, error) { … } func (r *Reader) readArgs(n int) ([]uint64, error) { … } func (r *Reader) readData() ([]byte, error) { … }