/* This package has no purpose except to register the blake3 hash function. It is meant to be used as a side-effecting import, e.g. import ( _ "github.com/multiformats/go-multihash/register/blake3" ) */
package blake3 import ( multihash ) const DefaultSize = 32 const MaxSize = 128 func init() { multihash.RegisterVariableSize(multihash.BLAKE3, func( int) (hash.Hash, bool) { if == -1 { = DefaultSize } else if > MaxSize || <= 0 { return nil, false } := blake3.New(, nil) return , true }) }