func ToObject(v []byte, output interface{}) error {
	_, err := newStructDecoder(output).Decode(v)  
	return err
}
ToObject decode bytes to interface
package y3
import (
	"fmt"
	"github.com/yomorun/y3-codec-golang/internal/utils"
)