-
Lennart Kolmodin authored
Affects; - skip - getLazyByteString - getLazyByteStringNul - getRemainingLazyByteString These functions all read input chunks until some condition, reading enough bytes, reaching a NUL character, or it has consumed all bytes. They're now implemented by withInputChunks. This fixes a bug where the position in the input previously wasn't correctly reported if you ran out of input bytes. Tests have been added for getLazyByteString and skip to Action.hs. Tests for getLazyByteStringNul and getRemainingLazyByteString already exist in QC.hs.
6c9c47f8