If you try to add a payload that is larger than the available space, and not at a specific location (location == 0), it hangs in an infinite loop. It's something like:
if contentsize <= length or location is right { insert record } if location == 0 continue.
I wasn't sure where the best place to put the increment of current was. Do you have any suggestions?
Thanks, Myles