static

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

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

Buffer is a fixed-capacity implementation of compile.CodeBuffer and compile.DataBuffer.

func Buf

func Buf(b []byte) *Buffer

Buf truncates the length of b to zero. (This function is not called NewBuffer because it has different semantics than the stdlib functions.)

func (*Buffer) Bytes

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

func (*Buffer) Extend

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

func (*Buffer) PutByte

func (f *Buffer) PutByte(b byte)

func (*Buffer) ResizeBytes

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

Jump to

Keyboard shortcuts

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