reset


Description:

[ Version ( since = "0.9.2" ) ]
public void reset ()

Clears the buffer contents and segment properties, and restores the default Unicode functions and buffer settings.

The message callback, its associated data, and any attached user data are preserved. To remove the message callback, call set_message_func with a `NULL` function.

Parameters:

buffer

An Buffer