SyntaxFix
Write A Post
Hire A Developer
Questions
C++ Implementation (not by me) here. Note that when your bytes are over 65535, you need to shift with a long value as shown here.