[roll] Roll fuchsia [packet] Simplify limited records representation

Simplify the representation of record formats which keep track of the
number of records which are expected to be parsed. Previously, an
entirely separate set of traits and utilities were provided to parse
these formats. In this commit, we represent the "normal" case - in which
no count is provided ahead of time - as a special case of the "general"
case - in which a count may be provided. This also allows us to remove
the `XxxBridge` types, which were a hack to avoid having multiple
blanket impls of the `RecordsImpl` trait. With the limited records
utilities removed, there can be a single blanket impl used by options
parsing.

Also previously, it was possible to encode a format in which it is an
error to provide more records than are expected using this count. It
turns out that no formats we support use this functionality, so in this
commit, it is removed.

Finally, remove some testing utilities which used `BufferView`s. These
utilities are not currently used, and should have been removed in
whatever previous commit removed their final use.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/750804
Original-Revision: 21285bd3f1b1964e0b3d0bfef1d1283c0e50c1e0
GitOrigin-RevId: f694c6b75a83d498fbe0f60c9b5403629f56c8db
Change-Id: I6b232844cdb3b4cd2014ab6c710e6f82d37d81f9
1 file changed
tree: bf016970b1ceb727dd4777f0480b82febf957ce8
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.