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
For example, [0x58, 0x59, 0x60] can be converted to multibase base2 as follows:
map each byte to the base2 representation:
["01011000", "01011001", "01011010"]
concatenate:
"010110000101100101011010"
prefix with '0':
"0010110000101100101011010"
The binary representation of 0x60 is 0b0110000. The third byte 0b01011010 in hexadecimal is 0x5A.
The text was updated successfully, but these errors were encountered:
sg495
added a commit
to sg495/multibase
that referenced
this issue
Oct 20, 2021
In https://github.com/multiformats/multibase/blob/master/rfcs/Base2.md#encoding:
The binary representation of
0x60
is0b0110000
. The third byte0b01011010
in hexadecimal is0x5A
.The text was updated successfully, but these errors were encountered: