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

Re: blob-[u|s]int-set!

This page is part of the web mail archives of SRFI 74 from before July 7th, 2015. The new archives for SRFI 74 contain all messages, not just those from before July 7th, 2015.



Sebastian Egner <sebastian.egner@xxxxxxxxxxx> writes:

> SRFI-74 reads:
>> (blob-uint-set! size endianness blob k n)
>>       For blob-uint-set!, n must be an exact integer in the interval [0, 
> (2^size)-1]. ...
>
> Shouldn't n be in {0..(256^size)-1} for uint (and similar for sint) 
> because you are octet-accurate?

Good point; I'll fix it in the next revision.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla