THRIFT-5592 Add uuid type documentation
Patch: Triton Circonflexe <triton@kumal.info>
Also includes followup-patch for THRIFT-5588 Remove references to slist and senum from docs
This closes #2618
diff --git a/doc/specs/thrift-binary-protocol.md b/doc/specs/thrift-binary-protocol.md
index 4284328..af4bd81 100644
--- a/doc/specs/thrift-binary-protocol.md
+++ b/doc/specs/thrift-binary-protocol.md
@@ -87,6 +87,15 @@
Values of `bool` type are first converted to an int8. True is converted to `1`, false to `0`.
+### Universal unique identifier encoding
+
+Values of `uuid` type are expected as 16-byte binary in big endian (or "network") order. Byte order conversion
+might be necessary on certain platforms, e.g. Windows holds GUIDs in a complex record-like structure whose
+memory layout differs.
+
+*Note*: Since the length is fixed, no `byte length` prefix is necessary and the field is always 16 bytes long.
+
+
## Message
A `Message` can be encoded in two different ways:
@@ -192,6 +201,7 @@
* `MAP`, encoded as `13`
* `SET`, encoded as `14`
* `LIST`, encoded as `15`
+* `UUID`, encoded as `16`
## List and Set