You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or even (treating memory allocation failures as unrecoverable errors):
pubfnencode_full_bytes(input:&[u8]) -> String
(this latter interface is offered by the popular zbase32 crate, so implementing it would make it easier for people to move from zbase32 to this implementation)
The text was updated successfully, but these errors were encountered:
dkg
added a commit
to dkg/libzbase32
that referenced
this issue
Feb 12, 2022
The high-level
encode
function is still slightly unergonomic for the common use case of encoding a whole number of bytes.As far as i can tell, the only errors possible for
encode
are:bits
doesn't match length ofinput
For the common use case it would be nice to have something like:
or even (treating memory allocation failures as unrecoverable errors):
(this latter interface is offered by the popular
zbase32
crate, so implementing it would make it easier for people to move fromzbase32
to this implementation)The text was updated successfully, but these errors were encountered: