func NewSimpleSplitter(storePutter storage.Putter, mode storage.ModePut) file.Splitter {
	return &simpleSplitter{
		putter: putWrapper{
			putter: func(ctx context.Context, ch swarm.Chunk) ([]bool, error) {
				return storePutter.Put(ctx, mode, ch)
			},
		},
	}
}
NewSimpleSplitter creates a new SimpleSplitter
package splitter
import (
	"context"
	"fmt"
	"io"
	"github.com/ethsana/sana/pkg/file"
	"github.com/ethsana/sana/pkg/file/splitter/internal"
	"github.com/ethsana/sana/pkg/storage"
	"github.com/ethsana/sana/pkg/swarm"
)
type putWrapper struct {
	putter func(context.Context, swarm.Chunk) ([]bool, error)
}
func (p putWrapper) Put(ctx context.Context, ch swarm.Chunk) ([]bool, error) {
	return p.putter(ctx, ch)
}
type simpleSplitter struct {
	putter internal.Putter
}