Google is committed to advancing racial equity for Black communities. See how.

inlineSize method

int inlineSize (WireFormat wireFormat)

Implementation

int inlineSize(WireFormat wireFormat) {
  switch (wireFormat) {
    case WireFormat.v1:
      return inlineSizeV1;
    case WireFormat.v2:
      return inlineSizeV2;
    default:
      throw FidlError('unknown wire format');
  }
}