Dear Dave,
could you please add Little Endian guid bytes order support? It's need when Guid is shortened in another application, which default is Little Endian. The solution is easy. In decode method, need to convert Guid byte array to hex string before creating a Guid:
byte[] blob = Convert.FromBase64String(base64);
var hexString = ToHexString(blob);
var guid = new Guid(hexString);
Dear Dave, could you please add Little Endian guid bytes order support? It's need when Guid is shortened in another application, which default is Little Endian. The solution is easy. In decode method, need to convert Guid byte array to hex string before creating a Guid:
ToHexString could be implemented like:
or another more clear algorithm is to swap byte[] bytes, instead of convert to HexString