BitListToByteArray
Converts a list of bits to a byte array.
Contributed by:
Arnoud Buzing
ResourceFunction["BitListToByteArray"][bits] converts the list bits to a ByteArray. |
Examples
Basic Examples
Create a list of bits:
In[1]:= |
Out[1]= |
Convert to a byte array:
In[2]:= |
Out[2]= |
Compare the number of bytes needed to represent the expressions:
In[3]:= |
Out[3]= |