[PD] Reading and writing binary files
Hans-Christoph Steiner
hans at at.or.at
Sat Feb 26 01:29:25 CET 2011
mrpeach/binfile is probably what you want.
.hc
On Feb 25, 2011, at 7:07 PM, David wrote:
> It's probably very obvious, but I can't figure out how to read and
> write files containing arbitrary binary data. I know there are objects
> for reading and writing sound files, and there's [textfile] for
> reading text files, but I want to read and write binary files, and
> interpret each byte as a 16-bit integer. Does anyone have an example I
> can look at? Since they will be small files, I just need to read them
> sequentially, I don't need to jump around in the file randomly.
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams
More information about the Pd-list
mailing list