bb

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package bb is a separate package so it can be imported by genai while being internal and exported so cmp.Diff() isn't unhappy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BytesBuffer

type BytesBuffer struct {
	D   []byte
	Pos int
}

BytesBuffer wraps bytes.Buffer with io.Seeker support.

func (*BytesBuffer) Read

func (b *BytesBuffer) Read(p []byte) (int, error)

func (*BytesBuffer) Seek

func (b *BytesBuffer) Seek(offset int64, whence int) (int64, error)

Seek implements io.Seeker.

func (*BytesBuffer) Write

func (b *BytesBuffer) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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