diff options
author | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-08-16 17:28:59 +0000 |
---|---|---|
committer | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-08-16 17:28:59 +0000 |
commit | 2cefaeaf61f38f1566293e53b4708e9ceff2d945 (patch) | |
tree | 83550d3138e34d99b2c09b4a2c5e2418c7e2efb2 /docs/encoding.rst | |
parent | 842d52633d650286ce62490362f8dfa356e17800 (diff) |
Docs
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@956 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'docs/encoding.rst')
-rw-r--r-- | docs/encoding.rst | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/encoding.rst b/docs/encoding.rst deleted file mode 100644 index 3f673f3..0000000 --- a/docs/encoding.rst +++ /dev/null @@ -1,18 +0,0 @@ -========================= -Nanopb: Encoding messages -========================= - -The basic way to encode messages is to: - -1) Create an `output stream`_. -2) Fill a structure with your data. -3) Call *pb_encode* with the stream, a pointer to *const pb_field_t* array and a pointer to your structure. - -A few extra steps are necessary if you need to know the size of the message beforehand, or if you have dynamically sized fields. - -.. _`output stream`: concepts.html#output-streams - -Function: pb_encode -=================== - - |