bondsmith

package module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chan2Seq

func Chan2Seq[T any](c chan T) iter.Seq[T]

Types

type CountReader

type CountReader struct {
	io.Reader
	// contains filtered or unexported fields
}

CountReader counts the number of bytes read from the underlying Reader.

func NewCountReader

func NewCountReader(r io.Reader) *CountReader

func (*CountReader) Count

func (r *CountReader) Count() int64

func (*CountReader) Read

func (r *CountReader) Read(p []byte) (int, error)

type Reader

type Reader interface {
	io.Reader
	io.ByteReader
}

Directories

Path Synopsis
Package protoio defines methods for reading and writing to streams of protocol buffers.
Package protoio defines methods for reading and writing to streams of protocol buffers.

Jump to

Keyboard shortcuts

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