Documentation ¶
Index ¶
- Variables
- type Key
- type Rope
- func (r *Rope) Bytes() []byte
- func (r *Rope) Concat(r2 *Rope) (ret *Rope)
- func (r *Rope) Delete(n, l int) *Rope
- func (r *Rope) Dump()
- func (r *Rope) Index(i int) byte
- func (r *Rope) Insert(n int, bs []byte) *Rope
- func (r *Rope) Iter(offset int, fn func([]byte) bool) bool
- func (r *Rope) IterBackward(offset int, fn func([]byte) bool) bool
- func (r *Rope) IterRune(offset int, fn func(rune, int) bool)
- func (r *Rope) Len() int
- func (r *Rope) NewRuneReader() *RuneReader
- func (r *Rope) Split(n int) (out1, out2 *Rope)
- func (r *Rope) StructEqual(r2 *Rope) bool
- func (r *Rope) Sub(n, l int) []byte
- type RuneReader
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxLengthPerNode = 128
Functions ¶
This section is empty.
Types ¶
type Rope ¶
type Rope struct {
// contains filtered or unexported fields
}
func NewFromBytes ¶
func NewFromString ¶
func (*Rope) NewRuneReader ¶
func (r *Rope) NewRuneReader() *RuneReader
func (*Rope) StructEqual ¶
type RuneReader ¶
type RuneReader struct {
// contains filtered or unexported fields
}
func (*RuneReader) Close ¶
func (r *RuneReader) Close()
Click to show internal directories.
Click to hide internal directories.