static

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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 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 uses len(b) as the buffer's capacity. The buffer is initially empty (b is truncated).

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