bytecounter

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloser

type ReadCloser interface {
	io.ReadCloser
	Count() uint64
}

ReadCloser wraps an io.ReadCloser, reimplementing its interface and counting the bytes written to during copying.

func NewReadCloser

func NewReadCloser(rc io.ReadCloser) ReadCloser

NewReadCloser wraps rc.

Jump to

Keyboard shortcuts

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