Text_Buffer module

buffer_to_string

procedure · 1 overloadsince 0.31.0Source

The whole text as a new string made with allocator.

buffer_to_string :: (
    buffer: *Text_Buffer,
    allocator: Allocator = context.allocator
) -> string

The whole text as a new string made with allocator.

Parameters

buffer: *Text_Buffer
allocator: Allocator

Returns

string

See also