parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Region

type Region interface {
	Split(start int64, end int64, newBit Region) error
	Render() ([]payload.Section, error)
	Find(offset int64) (Region, error)
	Contains(offset int64) bool
	ContainsRegion(start int64, end int64) bool
}

type Unknown

type Unknown struct {
	Start int64
	End   int64

	Children []Region
}

func (*Unknown) Contains

func (u *Unknown) Contains(offset int64) bool

func (*Unknown) ContainsRegion

func (u *Unknown) ContainsRegion(start int64, end int64) bool

func (*Unknown) Find

func (u *Unknown) Find(offset int64) (Region, error)

func (*Unknown) Render

func (u *Unknown) Render() ([]payload.Section, error)

func (*Unknown) Split

func (u *Unknown) Split(start int64, end int64, newBit Region) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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