Skip to content

UUID API is confused #316

@kortschak

Description

@kortschak

The UUID API makes use of (visible) uint32 backing data, this is not currently endian-agnostic and can be interacted with by users directly.

  • bytes representation of the UUID does not roundtrip: https://go.dev/play/p/bccbz_dNHAO: suggest maintaining order.
  • uint32 elements can be interacted with by client code: https://go.dev/play/p/XZ6wRHlti3N: suggest making the type struct { [4]uint32 } if the uint32 approach is retained.
  • endianness of data is mixed machine-endian and little-endian: this is only safe on little-endian architecture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreRelated to the core functionality not specific to any target

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions