Documentation
¶
Index ¶
- type Buffer
- func (tb *Buffer) AbsolutePos() int
- func (tb *Buffer) AbsoluteStart() int
- func (tb *Buffer) Cur() uint16
- func (tb *Buffer) HalfFull() bool
- func (tb *Buffer) Next()
- func (tb *Buffer) Peek(dist int) uint16
- func (tb *Buffer) ReadBuffer() string
- func (tb *Buffer) ReadCache() string
- func (tb *Buffer) ResetCache()
- func (tb *Buffer) Skip(dist int)
- func (tb *Buffer) SkipBlank()
- type BufferOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct { CacheBlanks bool // contains filtered or unexported fields }
func NewStringBuffer ¶
func (*Buffer) AbsolutePos ¶
func (*Buffer) AbsoluteStart ¶
func (*Buffer) ReadBuffer ¶
func (*Buffer) ResetCache ¶
func (tb *Buffer) ResetCache()
Click to show internal directories.
Click to hide internal directories.