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