bufstore

package
v0.0.0-...-6e85980 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b []byte, name string) store.Stream

Types

type Bufstore

type Bufstore struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Bufstore) Close

func (bs *Bufstore) Close() error

func (*Bufstore) Name

func (bs *Bufstore) Name() string

func (*Bufstore) Pos

func (bs *Bufstore) Pos() int64

func (*Bufstore) Read

func (bs *Bufstore) Read(b []byte) (int, error)

func (*Bufstore) Size

func (bs *Bufstore) Size() int64

Jump to

Keyboard shortcuts

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