Commit Graph

15 Commits

Author SHA1 Message Date
saxon d373f85b85 stream/mts: wrote test in metaEncode_test.go and found bug which was fixed 2019-01-30 15:37:15 +10:30
saxon af239838d0 stream/mts/psi: modified how update crc works so that we're only giving it data that's included in crc calc as well as the crc field itself. Added some consts to allow working with SyntaxSectionLen. Added trimPadding func so that we can easily get rid of any padding. Fixed createDescriptor func which was found to be broken from TestCreateDescriptor 2019-01-29 14:16:33 +10:30
saxon 5c4795786e psi/helpers.go: modified UpdateLocation() to make updating of location in pmt cleaner, and also removed redundant conversion of string to byte slice 2019-01-20 20:14:27 +10:30
saxon 98d89a4e4e mts: got rid of LocationStrBytes func 2019-01-18 13:21:35 +10:30
saxon 1ae261dce4 psi: return t instead of d in addPadding() func 2019-01-13 20:13:35 +10:30
saxon c4e2ca64a9 psi: modified addPadding to only do one resize 2019-01-12 17:51:39 +10:30
saxon 662d71bf54 mts+psi: fixed conflicts with master 2019-01-12 17:03:55 +10:30
saxon 4b09a4f60a psi: trim() => trimTo() 2019-01-10 17:31:14 +10:30
saxon fc7f5501e0 psi: removed conditional in HasTime and HasLocation and just used result of logic operation 2019-01-08 20:04:45 +10:30
saxon ffc1af2cd4 psi: removed declaration and initialisation of standard psi structures in std.go as this is dangerous 2019-01-07 17:13:50 +10:30
saxon 0c0afa8bde psi: removed redundent return in updateCrc 2019-01-07 16:25:08 +10:30
saxon 261118187b psi: using copy inside UpdateLocation() instead of range 2019-01-07 16:16:53 +10:30
saxon 0d3abd5798 psi: using own trim function to get rid of null chars in gps string 2019-01-07 14:24:54 +10:30
saxon 8cf2181958 psi: modified error messages for updateTime and updateLocation to make clearer 2019-01-07 13:56:25 +10:30
saxon 31683b4194 psi: HasTime and HasLocation now return bool instead of error 2019-01-07 13:49:47 +10:30