Add VDLIsZero, and use it in VDLWrite.

This CL adds the VDLIsZero method, which is used to check whether
the method receiver is the VDL zero value.  This is used in
codegen to make zero struct field checking both simpler and faster.

Also simplified both VDLRead and VDLWrite codegen, to make things
more consistent and easier to understand.

MultiPart: 3/5
Change-Id: Ic985ecf6860d75bc1943d7b79bb17016527f69c9
42 files changed
tree: e5c2480f7a6e2e954c8b440fa144284774e3783b
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.