|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_new (ubjs_library *lib, ubjs_writer_builder **pthis) |
| Creates new writer builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_free (ubjs_writer_builder **pthis) |
| Frees the writer builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_set_userdata (ubjs_writer_builder *this, void *userdata) |
| Sets the userdata for builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_set_would_write_f (ubjs_writer_builder *this, ubjs_writer_would_write_f would_write_f) |
| Sets the would-write callback for builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_set_would_print_f (ubjs_writer_builder *this, ubjs_writer_would_print_f would_print_f) |
| Sets the would-print callback for builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_set_debug_f (ubjs_writer_builder *this, ubjs_writer_debug_f debug_f) |
| Sets the debug callback for builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_set_free_f (ubjs_writer_builder *this, ubjs_writer_free_f free_f) |
| Sets the userdata free callback for builder. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_builder_build (ubjs_writer_builder *builder, ubjs_writer **pthis) |
| Builds new writer. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_free (ubjs_writer **pthis) |
| Frees the writer. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_get_userdata (ubjs_writer *this, void **puserdata) |
| Gets userdata from the writer. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_write (ubjs_writer *this, ubjs_prmtv *object) |
| Writes a bytestream out of a primitive. More...
|
|
UBJS_EXPORT ubjs_result | ubjs_writer_print (ubjs_writer *this, ubjs_prmtv *object) |
| Pretty-prints out of a primitive. More...
|
|
Bytestream writer and pretty-printer of ubjson primitives.
This file describes ubjs_writer structure, that writes ubjson primitives to bytestreams and also pretty-prints'em.
- Since
- 0.2