Build a complete, framed ApiVersions request ready to send to a broker.
This encodes both the request header and body, wrapped in a size prefix.
Correlation ID for matching the response.
API version to use (0–3).
Request payload (empty for v0–v2).
Optional
Client ID for the header.
The framed request as a Uint8Array.
Build a complete, framed ApiVersions request ready to send to a broker.
This encodes both the request header and body, wrapped in a size prefix.