Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.symbolic.independent

Topic: Read/Write bytes in Maxima
Replies: 3   Last Post: Apr 23, 2012 6:31 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Richard Fateman

Posts: 1,344
Registered: 12/7/04
Re: Read/Write bytes in Maxima
Posted: Apr 23, 2012 10:49 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 4/23/2012 6:32 AM, Mate wrote:
> Is there a command in Maxima to read/write a sequence (list) of bytes
> from/in a binary file?
> Something like writebytes(filename, offset, list_of_bytes).
> In the help system I have seen only operations related to text files
> (line oriented).
>
> Thank you,
> Mate


You can use common lisp input and output, perhaps.

Since Maxima doesn't really have a structure for a "list of bytes" it's
not clear how/why you would use this. (Of course one could come up
with some encoding, but is this for small numbers? characters? pieces of
floating-point numbers??)



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.