Sync a few small CLs: (#1060)

- cl/660721933: moves some proto3 parsing functions to utils to allow reusing
  internally in a library when parsing an internal format.

- cl/646759129: Update `CodedBufferReader` default depth limit to 100, to be
  consistent with the C++ and Java implementations.

- cl/704280814: Update `CodedBufferReader` default size limit to max 32-bit
  signed integer to be consistent with the C++, Java, Objective-C
  implementations.

- Also a minor change, not a CL: Type casts in `coded_buffer_writer.dart` was
  updated in this repo probably accidentally, as we never want to type cast
  with `as` in this repo. Revert it to the internal version which uses implicit
  casts.

With this, about half of the protobuf files become identical with the internal
version.
9 files changed
tree: 906939a98ad1077bd1a990efeb294c4982ff2020
  1. .github/
  2. benchmarks/
  3. protobuf/
  4. protoc_plugin/
  5. tool/
  6. .gitignore
  7. analysis_options.yaml
  8. AUTHORS
  9. LICENSE
  10. pubspec.yaml
  11. README.md
README.md

Protobuf support for Dart

Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

This repository is home to packages related to protobuf support for Dart.

PackageDescriptionPublished Version
protobufRuntime library for protocol buffers support.pub package
protoc_pluginA protobuf protoc compiler plugin used to generate Dart code.pub package
benchmarksBenchmarks for various protobuf functions.

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.