cctools
jx_binary.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2019- The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef JX_BINARY_H
8 #define JX_BINARY_H
9 
17 #include <stdio.h>
18 #include "jx.h"
19 
26 int jx_binary_write( FILE *stream, struct jx *j );
27 
33 struct jx * jx_binary_read( FILE *stream );
34 
35 #endif
struct jx * jx_binary_read(FILE *stream)
Read a JX expression from a file in binary form.
JSON Expressions (JX) library.
int jx_binary_write(FILE *stream, struct jx *j)
Write a JX expression to a file in binary form.
JX value representing any expression type.
Definition: jx.h:116