func Split(mtu int, data []byte, metadata []byte, onFrame HandleSplitResult) {
	SplitSkip(mtu, 0, data, metadata, onFrame)
}
Split split data and metadata in frame.
package fragmentation
import (
	"github.com/rsocket/rsocket-go/core"
)
type HandleSplitResult = func(index int, result SplitResult)
type SplitResult struct {
	Flag     core.FrameFlag
	Metadata []byte
	Data     []byte
}