Commit graph

16 commits

Author SHA1 Message Date
fe2df6f7d6
Implement tests 2024-02-06 13:05:38 -06:00
309dd06a2e
Correct fromText 2024-02-06 11:47:39 -06:00
49bceb5f14
Expose fromText 2024-02-05 20:46:05 -06:00
fd70a681dc
Add fromText function 2024-02-05 20:42:22 -06:00
8c634d8aa6
Update accesor for HexString 2024-02-05 20:25:06 -06:00
be830be714
Expose HexString constructor 2024-02-05 20:18:05 -06:00
268eb1cd53
Add Eq instance 2024-02-05 15:21:16 -06:00
4856ec516f
Borsh serialization for HexString 2024-02-05 15:18:01 -06:00
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