package utilities

import (
	
	
)

// IOReaderFactory takes in an io.Reader and returns a function that will allow you to create a new reader that begins
// at the start of the stream
func ( io.Reader) (func() io.Reader, error) {
	,  := io.ReadAll()
	if  != nil {
		return nil, 
	}

	return func() io.Reader {
		return bytes.NewReader()
	}, nil
}