def reply.drain.of
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
5578def reply.drain.of(m: Socket & Result<&1, &1, U32 & String, U32 & Array<U32>>) -> Socket & Bool:
5579 (s, r) = m
5580 match r:
5581 case Fail{e}:
5582 (s, False{})
5583 case Done{data}:
5584 (len, words) = data
5585 (s, Bool.not(U32.is_zero(len)))