Commit

da451ad

got what I think is some pretty tight loop-free C# code for splitting one up into its component parts, and assembling one from component parts. I'll push once I get some tests around it.