Jay McCarthy
085c16fb21
patch from #3
2022-05-21 14:16:17 -04:00
Leon Mergen
3087439daf
Adds JSON instances for HexString
2015-04-21 13:28:49 +07:00
Leon Mergen
31fa13f7ca
Implements functions to convert to and from raw bytes
2015-04-21 10:21:07 +07:00
Leon Mergen
1962b0a137
Fixes linting issue
2015-04-20 17:07:45 +07:00
Leon Mergen
ff3cab38d9
Updates interface to make a lot more generic
...
We now make use of the Binary interface, instead of relying on the
caller to provide ByteString objects himself.
2015-04-20 16:26:56 +07:00
Leon Mergen
6eea89845d
Don't expose the ByteString encode/decode anymore
...
By exposing a ByteString functions we actually make this library more
confusing; we will now only represent the hex string representation as
either Text or String, and any ByteString that goes in or out is always
the binary representation.
2015-04-20 13:30:58 +07:00
Leon Mergen
5acf1b0193
Now making use of Binary instead of manual convert
2015-04-20 13:25:01 +07:00
Leon Mergen
c68097c4e6
Initial check in of first version, including tests
2015-04-20 09:39:58 +07:00