# wireFormat property | |
[WireFormat](../../package-fidl_fidl/WireFormat.md) wireFormat | |
_<span class="feature inherited">inherited</span>_ | |
## Implementation | |
```dart | |
WireFormat get wireFormat { | |
if ((data.getUint8(kMessageFlagOffset) & kWireFormatV2FlagMask) != 0) { | |
return WireFormat.v2; | |
} | |
return WireFormat.v1; | |
} | |
``` | |