smap

package
v0.45.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMap

type SMap []*String

func Map

func Map(m mmap.MMap) (s SMap)

func (SMap) Find

func (s SMap) Find(nr int) int

func (SMap) Size

func (s SMap) Size() (w, h int)

func (SMap) Wrap

func (s SMap) Wrap(w int) (r SMap)

type String

type String struct {
	Nr    int
	Start int
	End   int
	Len   int
}

Jump to

Keyboard shortcuts

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