[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] some questions on byte vectors + ports
Thx for the answer!
>> And, given the fact that you no longer support this comfort, is there sufficient support to break down/ build up Scheme data types (integers, float,…) into / from raw bytes ? I.e., can I convert an integer or a float to a byte vector?
> Yes, the primitives read-u8 and write-u8 are all you need
> for this. See the withdrawn SRFI-56 for a portable implementation.
I had a quick look at the SRFI56 but I only see operations that work on ports. I haven't found anything that mentions byte vectors. Am I missing something?
Scheme-reports mailing list