Patch from blib32.
Parsing and popping of data.