# Functions
BuildErr returns an expression for returning an encore.dev/beta/errs.Error with the given code and message.
BuildErrf is like BuildErr but with a format string.
DecodeBody decodes an io.Reader request body into the given parameters.
DecodeCookie is like DecodeHeaders but for cookies.
DecodeHeaders generates code for decoding HTTP headers from the http request given by httpReqExpr and storing the result into the params given by paramsExpr.
DecodeQuery is like DecodeHeaders but for query strings.
EncodeBody encodes a request body into the given *jsoniter.Stream.
EncodeHeaders generates code for encoding HTTP headers into a http.Header map.
EncodeQuery generates code for encoding URL query values into a url.Values map.