Re: Some I/O Questions

2012-02-10 Thread Ian Price
Luiji Maryo writes: > Hello, > > I have some questions regarding Guile I/O and byte order. If you are dealing with binary data, you should be using bytevectors and binary ports, rather than strings. > 1. Is there an I/O function for reading a fixed set of bytes into a > buffer, i.e. if I wanted

Some I/O Questions

2012-02-10 Thread Luiji Maryo
Hello, I have some questions regarding Guile I/O and byte order. 1. Is there an I/O function for reading a fixed set of bytes into a buffer, i.e. if I wanted to read a 56-byte string from a binary archive? 2. Is there a way to specifically read a 8/16/32/64-bit string from a file/port? 3. Is ther