From 288727f09a1b3458c268497d111349e608c3f9fa Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Tue, 2 Aug 2022 01:20:12 +0200 Subject: init --- docs/write.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/write.rst (limited to 'docs/write.rst') diff --git a/docs/write.rst b/docs/write.rst new file mode 100644 index 0000000..b90e2e1 --- /dev/null +++ b/docs/write.rst @@ -0,0 +1,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 -- cgit v1.2.3-70-g09d2