def decoded.io
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
4250# decoded through the C libraries, for the codings in enc. A body with any other coding stays as sent.
4251def decoded.io(+enc: String, res: Res) -> IO(Result<&1, &1, Err, Res>):
4252 Res{+status, +headers, body} = res
4253 Bytes.Bytes{+len, buf} = body
4254 decoded.io.go(U32.is_zero(len), enc, status, headers, Bytes.Bytes{len, buf})