It is interesting to compare the effort required to interact with C libs in Ruby and in Crystal. I wrote https://github.com/yxhuvud/ior a couple of years ago and it is roughly on the same level of abstraction as this lib if I read it correctly. So it also allows a nice comparison between how the API is exposed.
Ior doesn't contain the multishot stuff because it didn't exist when I still added stuff to it, but apart from that it do include a whole lot of ops.
Ior doesn't contain the multishot stuff because it didn't exist when I still added stuff to it, but apart from that it do include a whole lot of ops.