c# - boost to create guid in c++ -


i using boost::uuids::uuid create guid array of characters result compare 1 using guid in c# fatally different.

c++

boost::uuids::uuid guid(char data[16]) {      return {         data[0], data[1], data[2], data[3],          data[4], data[5], data[6], data[7],          data[8], data[9], data[10], data[11],          data[12], data[13], data[14], data[15] }; } 

c#

guid onguid(byte[] data) {      return new guid(data); } 


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -