Question cross-posted to SO because crickets scare me.

https://stackoverflow.com/questions/51960305/convert-crc32-sum-from-
lsb-first-algorithm-to-sum-for-msb-first-algorithm

On Sun, 2018-08-19 at 09:27 +0930, Dan Kortschak wrote:
> I am working on an MPEG-TS-using package at the moment and need to
> calculate CRC32 remainders for the packets I'm constructing. I can do
> this with a big-endian CRC32 update function (hereĀ https://play.golan
> g.
> org/p/nKnRHlhTkNT), but am struggling to figure out how to transform
> the inputs to use the crc32.Update function. The polynomial I'm using
> the normal form of the IEEE polynomial. I have read the linked WP
> article from the godoc, but it's not clear to me how I should use
> that
> information (though intuitively it feel like I need to reverse the
> bit
> order of the input data, which seem unreasonable).
> 
> thanks
> Dan
> 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to