func NewCodec(e Encoder, d Decoder) Codec {
	return codec{e, d}
}
NewCodec creates a Codec from an Encoder and Decoder.
package runtime
import (
	"bytes"
	"encoding/base64"
	"fmt"
	"io"
	"net/url"
	"reflect"
	"k8s.io/apimachinery/pkg/conversion/queryparams"
	"k8s.io/apimachinery/pkg/runtime/schema"
)
type codec struct {
	Encoder
	Decoder
}