Re: [racket-users] Writing binary data

2016-10-18 Thread David Storrs
Nice. Thanks, Tony. On Tue, Oct 18, 2016 at 11:27 AM, Tony Garnock-Jones wrote: > On 10/18/2016 12:27 AM, David Storrs wrote: > > On Mon, Oct 17, 2016 at 8:39 PM, Sam Tobin-Hochstadt > > > wrote: > > I think the

Re: [racket-users] Writing binary data

2016-10-18 Thread Tony Garnock-Jones
On 10/18/2016 12:27 AM, David Storrs wrote: > On Mon, Oct 17, 2016 at 8:39 PM, Sam Tobin-Hochstadt > > wrote: > I think the `integer->integer-bytes` function is probably what you want. > > Thanks Sam, that does the trick. You might also

Re: [racket-users] Writing binary data

2016-10-18 Thread Doug Williams
David pointed out that I failed to do a reply all when I pointed him to the packed-binary package on PLaneT that does what he wants. Here is the text of that post in case anyone else ever needs it. I have a packed-binary package on PLaneT that we use for for reading binary data based on a similar

Re: [racket-users] Writing binary data

2016-10-17 Thread David Storrs
On Mon, Oct 17, 2016 at 8:39 PM, Sam Tobin-Hochstadt wrote: > I think the `integer->integer-bytes` function is probably what you want. > > Sam > > Thanks Sam, that does the trick. On Mon, Oct 17, 2016 at 8:38 PM, David Storrs > wrote: > > What is

Re: [racket-users] Writing binary data

2016-10-17 Thread Sam Tobin-Hochstadt
I think the `integer->integer-bytes` function is probably what you want. Sam On Mon, Oct 17, 2016 at 8:38 PM, David Storrs wrote: > What is the best way to write binary data such that I have control of the > representation? Basically, I want the Racket equivalent of the