blob: 5504562991b4f622608799fec2f53975bf5a7d38 [file] [log] [blame] [view]
# envelopeSize function
int envelopeSize
([WireFormat](../package-fidl_fidl/WireFormat.md) wireFormat)
## Implementation
```dart
int envelopeSize(WireFormat wireFormat) {
switch (wireFormat) {
case WireFormat.v2:
return 8;
default:
throw FidlError('unknown wire format');
}
}
```