[ CCode ( cname = "yaml_write_handler_t" , instance_pos = 0.1 ) ]
public delegate int WriteHandler (uint8[] buffer)
The prototype of a write handler.
The write handler is called when the emitter needs to flush the accumulated characters to the output. The handler should write size
bytes of the buffer to the output.
| buffer |
The buffer with bytes to be written. |
| data |
A pointer to an application data specified by |
| size |
The size of the buffer. |
|
On success, the handler should return |