func BytesToBloom(b []byte) types.Bloom {
	var bloom types.Bloom
	SetBytes(b, &bloom)
	return bloom
}
BytesToBloom converts a byte slice to a bloom filter.
It panics if b is not of suitable size.
package common
import (
	"fmt"
	"github.com/DSiSc/craft/types"
	"github.com/DSiSc/crypto-suite/crypto"
	"math/big"
)