Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
func CreateCalculator ¶
func CreateCalculator() *Calculator
func (*Calculator) AddData ¶
func (calculator *Calculator) AddData(data []byte)
func (*Calculator) Algorithm ¶
func (calculator *Calculator) Algorithm() string
func (*Calculator) Checksum ¶
func (calculator *Calculator) Checksum() string
type ReaderWithChecksum ¶
type ReaderWithChecksum struct { Underlying io.Reader Calculator *Calculator }
func CreateReaderWithChecksum ¶
func CreateReaderWithChecksum(underlying io.Reader, calculator *Calculator) *ReaderWithChecksum
type WriterWithChecksum ¶
type WriterWithChecksum struct { Underlying io.WriteCloser Calculator *Calculator }
func CreateWriterWithChecksum ¶
func CreateWriterWithChecksum(underlying io.WriteCloser, calculator *Calculator) *WriterWithChecksum
func (*WriterWithChecksum) Close ¶
func (writer *WriterWithChecksum) Close() error
Click to show internal directories.
Click to hide internal directories.