aboutsummaryrefslogtreecommitdiff
path: root/docs/write.rst
blob: b90e2e15b32bd72c3915e5254b40dd2cf03a37bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Data writer
===========

Data writer enables serialization of data as string characters written
to output stream. Same encoding rules that apply to data reader also apply to
data writer.

Additionally, data writer will provide informative representation of data
types which can not be parsed by data reader (`builtin function`,
`builtin syntax`, `function` and `syntax`).


Source code
-----------

write.h
'''''''

.. literalinclude:: ../src_c/write.h
    :language: c


write.c
'''''''

.. literalinclude:: ../src_c/write.c
    :language: c