def wire.code.of
import emerging-ezhttp@0.21.0.0/src/wirespec.bend as Wirespecimport Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http
131# an answer's status: the number on its first line, if it is one
132def wire.code.of(c: Http.Cut, raw: String) -> Maybe<&2, U32>:
133 match c:
134 case Http.NoCut{}:
135 U32.read(raw)
136 case Http.Cut{before, after}:
137 U32.read(before)