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?