nim-protobuf-serialization/tests
Jacek Sieka 0ef1a14564
size computations (#40)
* size computations

* add `Protobuf.computeSize` to compute the encoded size of an object
* readd `VarIntLengthPrefix` support
* don't expose loosely typed `writeValue` for objects that might
conflict with other serializers
* ensure all `writeValue` and `writeField` are tagged with a `codec`
type
* avoid writing all-defaults proto3 object fields

* Fix sizer for reference

* Create TableObject in a template

---------

Co-authored-by: Ludovic Chenut <ludovic@status.im>
2023-03-01 12:19:11 +01:00
..
conformance size computations (#40) 2023-03-01 12:19:11 +01:00
fail fix negative tests, allow devel fails, CI updates (#38) 2023-01-10 15:20:59 +01:00
files Conformance test suite (#44) 2023-02-21 12:06:23 +01:00
test_all.nim Cleanup / rewrite (#36) 2023-01-10 09:07:24 +01:00
test_bool.nim size computations (#40) 2023-03-01 12:19:11 +01:00
test_codec.nim size computations (#40) 2023-03-01 12:19:11 +01:00
test_empty.nim Cleanup / rewrite (#36) 2023-01-10 09:07:24 +01:00
test_enum.nim Conformance test suite (#44) 2023-02-21 12:06:23 +01:00
test_fixed.nim Cleanup / rewrite (#36) 2023-01-10 09:07:24 +01:00
test_objects.nim size computations (#40) 2023-03-01 12:19:11 +01:00
test_protobuf2_semantics.nim Cleanup / rewrite (#36) 2023-01-10 09:07:24 +01:00
test_repeated.nim size computations (#40) 2023-03-01 12:19:11 +01:00
test_repeated.proto Cleanup / rewrite (#36) 2023-01-10 09:07:24 +01:00
test_thirty_three_fields.nim Cleanup / rewrite (#36) 2023-01-10 09:07:24 +01:00