func ParseByteSize(s string) (int64, error) {
	var v datasize.ByteSize
	err := v.UnmarshalText([]byte(s))
	if err != nil {
		return 0, types.NewErrUserInputByteSizeInvalid(err, s)
	}
	return int64(v), nil
}
ParseByteSize will tried to parse string to byte size.
package utils
import (
	"errors"
	"fmt"
	"strings"
	"github.com/c2h5oh/datasize"
	"github.com/qingstor/noah/pkg/types"
)
var ErrReadableSizeFormat = errors.New("readable size format invalid")