io7m-com / cedarbridge

Cedarbridge message protocol specification language
https://www.io7m.com/software/cedarbridge
ISC License
0 stars 0 forks source link

Make UUIDs a standard type #32

Closed io7m closed 1 year ago

io7m commented 1 year ago

Currently, every project using Cedarbridge has ended up with a type like this:

[documentation CAI1UUID "A 128-bit UUID value."]
[record CAI1UUID
  [documentation msb "The most significant bits of the UUID."]
  [field msb cb:IntegerUnsigned64]
  [documentation lsb "The least significant bits of the UUID."]
  [field lsb cb:IntegerUnsigned64]
]