buffer

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fixed

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

Fixed is a fixed-capacity implementation of TextBuffer and DataBuffer.

func NewFixed

func NewFixed(b []byte) *Fixed

func (*Fixed) Bytes

func (f *Fixed) Bytes() []byte

func (*Fixed) Extend

func (f *Fixed) Extend(n int) []byte

func (*Fixed) Pos

func (f *Fixed) Pos() int32

func (*Fixed) PutByte

func (f *Fixed) PutByte(b byte)

func (*Fixed) PutBytes

func (f *Fixed) PutBytes(b []byte)

func (*Fixed) ResizeBytes

func (f *Fixed) ResizeBytes(n int) []byte

Jump to

Keyboard shortcuts

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