Documentation ¶
Index ¶
- Constants
- Variables
- type Buffer
- type Pointer
- func (p *Pointer) Address() int64
- func (p *Pointer) Append(value byte)
- func (p Pointer) AppendSpace(size int) []byte
- func (p *Pointer) Clone() *Pointer
- func (p *Pointer) GoEndOfFile()
- func (p *Pointer) Insert(value byte)
- func (p *Pointer) InsertSpace(size int) []byte
- func (p *Pointer) Next() error
- func (p *Pointer) Prev() error
- func (p *Pointer) Remove() int
- func (p *Pointer) RemoveSpace(space int)
- func (p *Pointer) Rewind(n int64) error
- func (p *Pointer) SetValue(value byte)
- func (p *Pointer) Skip(n int64) error
- func (p *Pointer) Value() byte
Constants ¶
View Source
const ( RemoveSuccess = iota RemoveAll RemoveRefresh )
Variables ¶
View Source
var ALLOC_SIZE = 4096
Functions ¶
This section is empty.
Types ¶
type Pointer ¶
type Pointer struct {
// contains filtered or unexported fields
}
func NewPointer ¶
func NewPointerAt ¶
func (Pointer) AppendSpace ¶
func (*Pointer) GoEndOfFile ¶
func (p *Pointer) GoEndOfFile()
func (*Pointer) InsertSpace ¶
func (*Pointer) RemoveSpace ¶
Click to show internal directories.
Click to hide internal directories.