Yes, thank you I ended up using make-bytes with the size and then doing a memcpy. I forgot that i could use a byte string as the memcpy destination.
Nate On Sun, Jul 12, 2020 at 11:56 AM Sam Tobin-Hochstadt <sa...@cs.indiana.edu> wrote: > Copying is probably the best option -- this is discussed some in the > following readme: > > https://www.github.com/racket/racket/tree/master/racket%2Fsrc%2Fcs%2FREADME.txt > > Sam > > On Sun, Jul 12, 2020, 12:16 PM Nate Griswold <nategrisw...@gmail.com> > wrote: > >> Maybe i have been up too long, but what is the best replacement for >> make-sized-byte-string in Racket CS? I am using a library that still calls >> it and is failing on me. >> >> I don't mind just copying the whole thing. I could write a function to do >> it i was just thinking there would be something there already... >> >> Thanks >> >> Nate >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Racket Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to racket-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/racket-users/CAM-xLPrFbKkgR4nNb3qmzFaw%2BRReNr3z%3DiROqMof--x%3DeOjODA%40mail.gmail.com >> <https://groups.google.com/d/msgid/racket-users/CAM-xLPrFbKkgR4nNb3qmzFaw%2BRReNr3z%3DiROqMof--x%3DeOjODA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAM-xLPqiuifpd9ou%3D3ow6sXQJH0ZasgSshqNyL1Z_1T8mNt9-A%40mail.gmail.com.