create


Description:

[ Version ( since = "0.9.2" ) ]
public static Buffer create ()

Creates a new Buffer with all properties to defaults.

Returns:

A newly allocated Buffer with a reference count of 1. The initial reference count should be released with hb_buffer_destroy when you are done using the Buffer. This function never returns `NULL`. If memory cannot be allocated, a special Buffer object will be returned on which allocation_successful returns `false`.