This question already has an answer here:
I'm trying to do something very simple, write bytes to a file using the f library:
And I create a list of bytes:
(setq random-data (loop for i from 0 to 40 collect (random 150)))
So far, so good. However, the
unibyte-string function seemingly expects separate arguments so the following doesn't work:
(f-write-bytes (unibyte-string random-data) "file.dat")
This seems painfully easy but I can't get it working, is there a standard way of doing this?