mmap_span

package
Version: v0.0.0-...-add6754 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2016 License: MPL-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MMapSpan

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

func (*MMapSpan) Append

func (me *MMapSpan) Append(mmap mmap.MMap)

func (MMapSpan) ApplyTo

func (me MMapSpan) ApplyTo(off int64, f func(int64, sizer) (stop bool))

func (MMapSpan) Close

func (me MMapSpan) Close()

func (MMapSpan) ReadAt

func (me MMapSpan) ReadAt(p []byte, off int64) (n int, err error)

func (MMapSpan) Size

func (me MMapSpan) Size() (ret int64)

func (MMapSpan) WriteAt

func (me MMapSpan) WriteAt(p []byte, off int64) (n int, err error)

func (MMapSpan) WriteSectionTo

func (me MMapSpan) WriteSectionTo(w io.Writer, off, n int64) (written int64, err error)

Jump to

Keyboard shortcuts

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