Kind of baffled by how the Wayland protocol documentation just... doesn't define what an 'array' is in the wire format.
This is the entirety of the 'array' documentation: "Starts with 32-bit array size in bytes, followed by the array contents verbatim, and finally padding to a 32-bit boundary."