func (factory *Factory) New(storagePrefix byte, objectFactory StorableObjectFactory, optionalOptions ...Option) *ObjectStorage {
	return New(factory.store.WithRealm([]byte{factory.packagePrefix, storagePrefix}), objectFactory, optionalOptions...)
}
New creates a new ObjectStorage with the given parameters. It combines the store specific prefix with the package
prefix, to create a unique realm for the KVStore of the ObjectStorage.
package objectstorage
import "github.com/iotaledger/hive.go/kvstore"
type Factory struct {
	store         kvstore.KVStore
	packagePrefix byte
}
func NewFactory(store kvstore.KVStore, packagePrefix byte) *Factory {
	return &Factory{
		store:         store,
		packagePrefix: packagePrefix,
	}
}