Extend inline / fixed length bytes array support (issue #244)
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Wed, 22 Feb 2017 19:06:32 +0000 (21:06 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Wed, 22 Feb 2017 19:10:26 +0000 (21:10 +0200)
commit07375a126337916f3a34ea94f8085b8f89d789a1
treeef95d9138252d8ae4797e0a7092bc7417c1abefb
parentca74746e23b5a9e7916e8fde6632d71d61603f50
Extend inline / fixed length bytes array support (issue #244)

Adds support for proto3 and POINTER field types to have
fixed length bytes arrays. Also changed the .proto option
to a separate fixed_length:true, while also supporting the old FT_INLINE
option.

Restructured the generator and decoder logic to threat the inline
bytes fields more like "just another field type".
docs/concepts.rst
docs/reference.rst
generator/nanopb_generator.py
generator/proto/nanopb.proto
pb.h
pb_decode.c
pb_encode.c