graph

package
v0.0.0-...-a6bde1d Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Msb        uint64
	Lsb        uint64
	References []Reference
}

Entry is a collection of a segment and its references towards other segments.

type Graph

type Graph struct {
	Entries []Entry
}

Graph is a graph of references beetween segments.

func (*Graph) ReadFrom

func (graph *Graph) ReadFrom(r io.Reader) (int64, error)

ReadFrom reads the content of the graph from the provided reader. It returns the number of bytes read and an optional error.

type Reference

type Reference struct {
	Msb uint64
	Lsb uint64
}

Reference is the destinatin of a reference from another segment.

Jump to

Keyboard shortcuts

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