Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IEEETable = crc32.IEEETable
)
Functions ¶
func MakeCRC32Table ¶
Types ¶
type CRC32Option ¶
type CRC32Option func(*CRC32Options)
func CRC32OptionPoly ¶
func CRC32OptionPoly(poly uint32) CRC32Option
func CRC32OptionTable ¶
func CRC32OptionTable(tab *crc32.Table) CRC32Option
type CRC32Options ¶
type Hash32Repo ¶
type Hash32Repo interface { Sum(s string) string SumBytes(b []byte) string SumTimes(s string, times uint) string SumBytesTimes(b []byte, times uint) string Sum32(b []byte) (uint32, error) Reset() }
Hash32Repo hash32 functions manager
func NewCRC32WithOptions ¶
func NewCRC32WithOptions(opts ...CRC32Option) (Hash32Repo, error)
NewCRC32WithOptions get crc32 repo with options
Click to show internal directories.
Click to hide internal directories.