Decoder source code for https://github.com/davidonet/LogForData2013