DSF metadata reading and writing

I've attempted to implement tag reading and writing for DSF (DSD stream file) using the spec from http://dsd-guide.com/sites/default/files/white-papers/DSFFileFormatSpec_E.pdf