sorry.  Reduce it to 7.

Yes, getting a u64 completely would clear the buffer and reduce len to 0, but it applices to any type size there, and not just when psize is 64 bits,  If psize == len, then both len and the temp-buffer would be reset automatically.