- Sep 29, 2023
- Oct 31, 2021
- Jan 09, 2015
-
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
It fails due to -O2 warning.
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
- Apr 09, 2013
-
-
Lennart Kolmodin authored
Don't leak higher bits in putWord8 and putWord16be
-
- Apr 08, 2013
-
-
Alexander Polakov authored
- copy-paste make_mask from Get.hs - use it
-
- Apr 06, 2013
-
-
Lennart Kolmodin authored
Bug discovered by Alexander Polakov. We change how putBool works to expose it, making it easier to fix, lots of tests in the test suite breaks by this change, but they shouldn't. putWord8 is broken, as it may let bits we want to be unused leak into the output. If some high bits are set in a Word8, but we don't want to output them, they will anyway leak and corrupt previously written bits. The following program is now broken with this commit; broken = do putBool False putBool True It'll output a byte: 11000000 instead of the expected: 01000000
-
Lennart Kolmodin authored
-
- Apr 01, 2013
-
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
-
- Mar 31, 2013
-
-
Lennart Kolmodin authored
getLazyByteString: read current byte + isEmpty
-
Alexander Polakov authored
suggested by @kolmodin
-
Alexander Polakov authored
- remove stupid Bool comparisons - no need for numeric parameter in prop_isEmptyOfConsumedEmpty suggested by @kolmodin
- Mar 30, 2013
-
-
Lennart Kolmodin authored
-
- Mar 29, 2013
-
-
Alexander Polakov authored
-
Alexander Polakov authored
-
- Mar 14, 2013
-
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
Don't allow block merging for this function, as blocks are always done on strict bytestrings.
- Oct 28, 2012
-
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
Issue reported by Eugene Kirpichov <ekirpichov@gmail.com>.
- Apr 25, 2012
-
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
-
Lennart Kolmodin authored
Using the ensureN, get and put methods from binary-0.6.0.0 we can keep the current chunk within the BitGet monad and put what remains of the chunk when the monad has finished executing or if we encounter an error.
-
- Mar 01, 2012
-
-
Lennart Kolmodin authored
Return the empty string if n<=0.
-
Lennart Kolmodin authored
We should do this conditionally, only not needed if random>=1.0.1.0.
-
Lennart Kolmodin authored
If not checking the requested read length, we're most likely to segfault.
-