guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some I/O Questions


From: Luiji Maryo
Subject: Some I/O Questions
Date: Thu, 9 Feb 2012 22:50:05 -0500

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 there a built-in function for converting between byte orders
(i.e. BSD-style htobe32 and such) or must I implement them myself?
4. Is writing an archive manager using Guile for implementing archive
formats a bad idea to start with?

Thank you for your time,
- LM <address@hidden>

http://entertainingsoftware.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]