checksum

package
v0.0.0-...-34384d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(reader io.Reader, checksum hash.Hash) *Reader

func (*Reader) SumBytes

func (r *Reader) SumBytes() []byte

func (*Reader) SumString

func (r *Reader) SumString() string

type Writer

type Writer struct {
	filter.Writer
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(writer io.Writer, checksum hash.Hash) *Writer

func (*Writer) SumBytes

func (w *Writer) SumBytes() []byte

func (*Writer) SumString

func (w *Writer) SumString() string

Jump to

Keyboard shortcuts

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