Skip to content

Is toByteArray outputting the correct format? #7

Closed
@GunboatDiplomat

Description

@GunboatDiplomat

If I understood correctly, GUID type is low endian, and UUIDv7 spec is big endian which means that toByteArray() will be wrong for NewDatabaseFriendly(Database.SQLite), but not for NewDatabaseFriendly(Database.SqlServer) which is UUIDv8 LE. Is that correct? If so, maybe there should be a disclaimer somewhere in the readme.

Also, is it possible to make all UUIDs represented correctly once dotnet/runtime#87993 is merged, probably for NET8?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions