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

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



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