int requestInlineSize (WireFormat wireFormat)
Implementation
int requestInlineSize(WireFormat wireFormat) {
switch (wireFormat) {
case WireFormat.v1:
// Old versions of the C-bindings are sending V2-compatible messages
// with the V1 header.
case WireFormat.v2:
return requestInlineSizeV2;
default:
throw FidlError('unknown wire format');
}
}