increment-buffer
increment a buffer (with carry)
Example
Useful for managing nonces when using libsodium In particular, see Notes section regarding reusing keys (scroll to bottom)
> var inc =><Buffer 00 00 00 01>> //with carry...><Buffer 00 00 01 00>> //wrap around><Buffer 00 00 00 00>
License
MIT