Re: Reading files as byte array

2021-09-06 Thread Valentin Petzel
Thank you so much! That does the trick! Am Montag, 6. September 2021, 09:58:15 CEST schrieb Han-Wen Nienhuys: > On Mon, Sep 6, 2021 at 12:41 AM Lukas-Fabian Moser wrote: > > >>> Would it be considered okay if we included a scheme function to read a > > >>> binary file to a byte array? > > >> >

Re: Reading files as byte array

2021-09-06 Thread Lukas-Fabian Moser
Just from comparing those statements: Would it be reasonable (and maybe generally useful) to make global_path.find (used in gulp_file_to_string, lily-guile.cc) available at scheme level? see ly:find-file. Aah, thanks much (sorry I didn't see it). So then, Valentin, want you asked for seems

Re: Reading files as byte array

2021-09-06 Thread Han-Wen Nienhuys
On Mon, Sep 6, 2021 at 12:41 AM Lukas-Fabian Moser wrote: > > > >>> Would it be considered okay if we included a scheme function to read a > >>> binary file to a byte array? > >> GUILE already supports this out of the box. Have you seen > >> > >>