rollsum

package
v0.0.0-...-eb76b61 Latest Latest
Warning

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

Go to latest
Published: May 23, 2013 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package rollsum implements rolling checksums similar to apenwarr's bup, which is similar to librsync.

The bup project is at https://github.com/apenwarr/bup and its splitting in particular is at https://github.com/apenwarr/bup/blob/master/lib/bup/bupsplit.c

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RollSum

type RollSum struct {
	// contains filtered or unexported fields
}

func New

func New() *RollSum

func (*RollSum) Bits

func (rs *RollSum) Bits() int

func (*RollSum) Digest

func (rs *RollSum) Digest() uint32

func (*RollSum) OnSplit

func (rs *RollSum) OnSplit() bool

func (*RollSum) Roll

func (rs *RollSum) Roll(ch byte)

Jump to

Keyboard shortcuts

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