Jacek Sieka
d8d914332d
random helpers ( #64 )
...
* random helpers
* arrayops as a home for small array/openArray utilities
* assign2 - a replacement for genericAssign and assignment operators in
general which in nim are very slow
* use assign2 in a few places to speed things up
* fixes
* fixes
2020-12-10 12:05:22 +01:00
Zahary Karadjov
61d5cfc376
Add array[N, byte].fromHex(string)
2020-07-02 18:00:39 +03:00
Zahary Karadjov
c980d7592d
Missed some generic procs in the previous commit due to late instantiation
2020-07-02 13:00:38 +03:00
Zahary Karadjov
a272986cb3
raises annotations for stew/byteutils
2020-07-02 12:48:05 +03:00
Jacek Sieka
720f1a254d
byteutils: compile-time to/fromBytes ( #35 )
2020-05-06 15:51:07 +02:00
Jacek Sieka
8065e36c5a
results: fix non-void [] overload
2020-04-23 06:46:10 +02:00
Jacek Sieka
87ccf8e66b
hex byte: raise instead of assert on hex-to-byte odd lengths
2020-04-10 22:40:00 +03:00
Jacek Sieka
76beeb769e
fix fromBytes for zero length arrays
2020-03-07 23:29:46 +01:00
Jacek Sieka
ca8fb7ebd0
add slice assignment for openarray
2020-03-05 12:11:25 +02:00
Jacek Sieka
598fe151f8
non-cast implementation of toBytes, add fromBytes
2020-03-05 12:11:25 +02:00
Jacek Sieka
9c18a1cc55
byteutils: lexicographical less than
2019-12-19 13:29:38 +01:00
Jacek Sieka
cf4df3dc50
add toBytes ( #14 )
2019-12-10 15:39:57 +01:00
Jacek Sieka
c95cee45bc
add byteutils
2019-07-06 20:07:41 +02:00