get_content_type


Description:

[ Version ( since = "0.9.5" ) ]
public BufferContentType get_content_type ()

Fetches the type of buffer contents.

Buffers are either empty, contain characters (before shaping), or contain glyphs (the result of shaping).

Parameters:

buffer

An Buffer

Returns:

The type of buffer contents