Commit graph

104 commits

Author SHA1 Message Date
Zankoku Okuno
f16f2120e3
Seven eights encoding
"7/8" encoding in two variants. Smoke tests for 7/8 encoding.

Co-authored-by: Eric Demko <edemko@layer3com.com>
2022-01-31 09:41:05 -05:00
Eric Demko
f5709a8cd2 finish out LEB for 32-bit and signed 32/64 2022-01-24 14:36:21 -05:00
Andrew Martin
ce52044b08 Prepare for release of 0.3.9.0 2021-11-19 15:52:59 -05:00
Andrew Martin
4745fe5a43 Version bump to 0.3.9.0, not for release yet 2021-10-21 14:53:27 -04:00
Zankoku Okuno
fba563dd6b
Byte Template Quasiquoter and classes for builders
Co-authored-by: Eric Demko <edemko@layer3com.com>
Co-authored-by: Andrew Martin <andrew.thaddeus@gmail.com>
2021-09-15 14:57:10 -04:00
Andrew Martin
2e279c62f2 Add cstring# 2021-06-29 14:47:44 -04:00
Andrew Martin
a51dcb65b6 Correct documentation typo. Improve fromBoundedOne. 2021-06-25 13:33:46 -04:00
Andrew Martin
dafb1bb37f Correct the required length for json string building 2021-06-25 12:05:33 -04:00
Andrew Martin
e79864aa0d Correct encoding of Doubles again 2021-01-22 11:13:02 -05:00
Andrew Martin
e4ecf54aba Add runByteString for bounded builders 2020-12-18 13:26:26 -05:00
Andrew Martin
57e2c7b777 Fix doubleDec 2020-12-18 13:03:04 -05:00
Andrew Martin
6b43fea3d5 Prepare changelog for release 2020-11-06 09:07:36 -05:00
Andrew Martin
8a1a082b53 Move some of the JSON escape character matches under an appropriate guard 2020-11-06 08:42:51 -05:00
Andrew Martin
0c1b4da583 Add ascii7 and ascii8 2020-10-26 12:30:55 -04:00
Andrew Martin
04ab7f046b Resolve collision of replicate in test suite 2020-07-29 14:42:40 -04:00
Andrew Martin
7a8c57579e Prepare changelog for 0.3.6.0 release 2020-06-30 09:22:49 -04:00
Andrew Martin
6098f9bd91 Improve compatibility with primitive again 2020-06-12 15:47:13 -04:00
Andrew Martin
18269df9bb Ensure compat with primitive-0.7.1.0 2020-06-12 15:44:13 -04:00
Andrew Martin
5c2dd94acf Add replicate 2020-06-01 11:28:35 -04:00
Andrew Martin
616f724846 Prepare for 0.3.5.0 release 2020-05-01 11:03:23 -04:00
Andrew Martin
ce33f2d22b Add newBuilderState and closeBuilderState. Exposed commitDistance. 2020-04-16 11:56:43 -04:00
Andrew Martin
d39c76a65a Add wordLEB128, word64LEB128, integerDec, naturalDec, and word48PaddedLowerHex 2020-04-13 11:29:38 -04:00
Andrew Martin
2ce46c4c4a Prepare changelog for release 2020-02-27 14:09:01 -05:00
Andrew Martin
1908d53a14 Rename library to bytebuild. Use Data.Bytes namespace. 2020-02-27 14:00:35 -05:00
Andrew Martin
e9de3f30db
Add copy2 to help avoid multiple length checks 2020-02-27 12:17:23 -05:00
Andrew Martin
d1d4ed0d12 Add cstringLen 2020-02-26 16:15:41 -05:00
Andrew Martin
4c7227e7e9 Add ascii(2|3|4|5|6) 2020-02-26 12:00:52 -05:00
Andrew Martin
1f2aa9b110 Add reversedOnto and commitsOntoChunks 2020-02-23 14:10:26 -05:00
Andrew Martin
f5799e7270 Add wordPaddedDec4 2020-02-12 14:56:32 -05:00
Andrew Martin
1ccaa80ba8 Update changelog for 0.3.3.0 release 2020-02-10 09:34:49 -05:00
Zankoku Okuno
f8a32ebb1b
Word256 lacunae for big-endian and little-endian output
Implement BE and LE builders for 256-bit words and arrays of 256-bit words.
Test new functions in the test suite.
2020-02-07 09:39:59 -05:00
Eric Demko
6657cc0383 implemented wider hex builders and a couple missing builders 2020-02-06 14:41:26 -05:00
Andrew Martin
93d3429fe7 Prepare for 0.3.2.0 release 2020-01-20 18:54:43 -05:00
Andrew Martin
71fa47a8ee Move Data.Bytes.Chunks into byteslice 2020-01-15 16:50:24 -05:00
Andrew Martin
d496f23fd8 Add word8PaddedLowerHex 2020-01-03 06:42:32 -05:00
Andrew Martin
ecde041d9d Add wordPaddedDec9 2019-12-30 20:43:36 -05:00
Andrew Martin
2b85e2cb84
Add function for zero-padded decimal encoding of two digit numers 2019-12-30 20:14:15 -05:00
Andrew Martin
10ed08c77d Add length to Data.Bytes.Chunks 2019-12-09 19:35:51 -05:00
Andrew Martin
3688e024e8 Add runOnto 2019-12-09 13:25:51 -05:00
Andrew Martin
e8de684ae2 Completely redo putMany and friends 2019-11-25 10:52:00 -05:00
Andrew Martin
786a83332b Generalize the type of putManyConsLength 2019-11-23 13:34:19 -05:00
Andrew Martin
70a5c15e6c Add putManyConsLength 2019-11-23 08:56:52 -05:00
Andrew Martin
c7fcaff97f Add putMany and considate consLength functions 2019-11-22 16:24:48 -05:00
Andrew Martin
ae5d17ce5c Sort imports. Add release date to changelog. 2019-11-20 14:35:49 -05:00
Andrew Martin
4f8ea31b73 Add Data.ByteArray.Builder.Unsafe.fromEffect 2019-11-20 14:30:51 -05:00
Andrew Martin
353a114145 Allow newer byteslice 2019-11-18 14:56:26 -05:00
Andrew Martin
575d29730d Add little-endian variant of length-consing function 2019-10-25 12:57:56 -04:00
Andrew Martin
d66a9e6880 add laws tests for Chunks 2019-10-22 20:50:37 -04:00
Andrew Martin
da2be3281a correct pragma controlling inlining behavior of JSON text encoding function 2019-10-18 13:59:45 -04:00
Andrew Martin
f40f0c5623 fix haddock formatting in the json escape sequence example 2019-10-18 13:56:02 -04:00