Skip to content

Discussion: Variable Length UUIDs | UUID Long #2

@kyzer-davis

Description

@kyzer-davis

All things Variable Length UUIDs!

Biggest Question up front: Should this be in scope for this RFC Draft?

If so as per @broofa

  • If a UUID is larger than 16 bytes, how is it padded?
  • ... what are the extra bits / bytes used for?
  • ... can a UUID have a fractional-byte length? (e.g. 173 bits) ... how would that be parsed?
  • What does the string-form of a non-standard length UUID look like? a.k.a "Where do the hyphens go?"
  • What does it mean for a uuid to have length < 16 bytes?
  • As an implementor, when scanning a UUID field, how do I know how many bytes/bits to read? I.e. how does a UUID indicate it's length? This is important, if for no other reason than to know where the next field in the data starts.
  • What does variable field length imply for other, existing RFC versions? "Why can't those now be longer?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionOpen Ended Conversations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions