func (r ReJSONCommandID) TypeSafety() error {
	if r.Value() < 0 || r.Value() > 19 {
		return fmt.Errorf("error: invalid command id")
	}
	return nil
}
TypeSafety checks the validity of the command id
package rjs
import "fmt"
func BytesToString(lst interface{}) (str string) {
	_lst, ok := lst.([]byte)
	if !ok {
		panic("error: something went wrong")
	}
	for _, s := range _lst {
		str += string(s)
	}
	return
}
func StringToBytes(lst interface{}) (by []byte) {
	_lst, ok := lst.(string)
	if !ok {
		panic("error: something went wrong")
	}
	for _, s := range _lst {
		by = append(by, byte(s))
	}
	return
}
func (r ReJSONCommandID) Value() int32 {
	return int32(r)
}