commit | 052dcb70a893b21c82e099f5e2a75b25f170e761 | [log] [tgz] |
---|---|---|
author | Felix Zhu <fcz@google.com> | Wed Jan 08 12:27:19 2020 -0500 |
committer | Felix Zhu <fcz@google.com> | Tue Jan 28 09:54:44 2020 -0500 |
tree | e0e14a855a48408ee9f9cd17d2561728c0822d6e | |
parent | 5b578d04a2ce826a05a173ff794ef3396b6f858e [diff] |
[fidl][dart] Use struct typeshapes for requests/responses Bug: 7704 This updates the dart bindings to use the payload struct type info, so that parameter offsets and request/response sizes no longer include the message header. In the bindings, this leads to the following changes: - when encoding, we can just alloc the request/response size instead of subtracting the header size - when decoding, we claimMemory separately for the header than for the payload - in both encoding/decoding, the calls to MemberType.encode/decode use a base offset of kMessageHeaderSize instead of 0 Test: fx run-test fidl_bindings_test Change-Id: I8297e1583541ccd842eb743626df0fd65a93a9df
Topaz augments system functionality by implementing interfaces defined by underlying layers. Topaz contains four major categories of software: modules, agents, shells, and runners.
For example, modules include the dashboard, and runners include the Web, Dart, and Flutter runners.
Looking for something that used to be in this repository? The list below provides a code location and sha that can be used to checkout dead code that has been removed. Please note, it is unlikely the code will build or work correctly shas are provided for reference only. Code can be checked out with:
git checkout <sha> -- $FUCHSIA_DIR/<location>