def chunk.next

emerging-ezhttp@0.21.0.0 · src/http.bend:322

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

322# the decoder's step for what a chunk-size line says and the text after it
323def chunk.next(z: Size, +after: String) -> Next:
324  match z:
325    case SizeBad{why}:
326      Reject{why}
327    case SizeLast{}:
328      Stop{}
329    case SizeData{+n}:
330      chunk.next.data(after, n, chunks.ready(after, n))

Uses (5)

Used by (0)

No other definition uses this definition.