blockheader

package
v0.0.0-...-8b2a550 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2013 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 Header struct {
	TupleSize   int  // Sizee of each Tuple
	NumOfTuples int  // Number of Tuples
	DDBlock     bool // Childs Are Descriptors
}

The Text Header Structure is "ts:3;nt:983;ddblock:f\0" + Random...

ts = Tuple Size; nt = Number of Tuples; ddblock = DDBlock = Childs Are Descriptors if true ("t")

func NewHeader

func NewHeader() *Header

func (*Header) Parse

func (h *Header) Parse(bh []byte) bool

func (*Header) Serialize

func (h *Header) Serialize(rnd io.Reader) ([]byte, error)

Jump to

Keyboard shortcuts

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