def literal
import bend-kit-http2@0.4.0.0/hpack.bend as Hpackimport Base
258def literal(c: Cursor) -> Maybe<&1, Cursor & String>:
259 with_taken(Cursor & String, take(c), cursor => +first =>
260 with_taken(Cursor & String, integer.after(first, 127, cursor), cursor => count =>
261 literal.bytes(U32.is_ne((first .&. 128 : U32), 0), cursor, count)))