func NewBuffer(buf []byte) *Buffer {
	return (*Buffer)(codec.NewBuffer(buf))
}
NewBuffer creates a new buffer with the given slice of bytes as the
buffer's initial contents.
package codec
import (
	"io"
	"github.com/golang/protobuf/proto"
	"github.com/jhump/protoreflect/internal/codec"
)
var ErrOverflow = codec.ErrOverflow
var ErrBadWireType = codec.ErrBadWireType
type Buffer codec.Buffer