About

Get Started

Docs

buffer

import "github.com/gosolid/solid/pkg/runtime/buffer"

Index

type Buffer

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

func NewBuffer

func NewBuffer(in isolates.FunctionArgs) *Buffer

func (*Buffer) Buffer

func (b *Buffer) Buffer() *isolates.Value

func (*Buffer) Length

func (b *Buffer) Length(ctx context.Context) (int, error)

func (*Buffer) ToString

func (b *Buffer) ToString(ctx context.Context) (string, error)

func (Buffer) V8Construct

func (b Buffer) V8Construct(in isolates.FunctionArgs) (Buffer, error)

func (*Buffer) V8FuncToString

func (b *Buffer) V8FuncToString(in isolates.FunctionArgs) (*isolates.Value, error)

func (*Buffer) V8GetBuffer

func (b *Buffer) V8GetBuffer(in isolates.GetterArgs) (*isolates.Value, error)

func (*Buffer) V8GetLength

func (b *Buffer) V8GetLength(in isolates.GetterArgs) (*isolates.Value, error)

Up next

console