Draft: Refactor tng block
Ongoing work refactoring the TngGeneralBlock data structure to be a class.
I have attempted to isolate the methods that are reliant only on the block instance and are not involved in reading or writing so far.
Comes with associated tests. :)
Edited by Hugo MacDermott-Opeskin