-
Notifications
You must be signed in to change notification settings - Fork 0
Does not recognize little-endian byte array representation #9
Comments
This is a very interesting difference in behavior between different stacks. C# seems to be handling GUIDs not simply as an array of bytes internally thus the diff in representation. On the other hand, Java has those bytes big-endian. There are two major directions we could follow with a fix implementation for this issue:
|
maybe we could have an optional |
Guid V4's byte array representation has its first 4 bytes in little-endian order. Atm the class can't parse V4 guids from byte arrays that matches this rule.
Guid.ToByteArray method in C#:
https://docs.microsoft.com/en-us/dotnet/api/system.guid.tobytearray?view=net-5.0
The text was updated successfully, but these errors were encountered: