← All docs

buffer_free()

Frees a buffer<T> and nulls the local variable that held it.

buffer_free()

function buffer_free(buffer $buffer): void

Frees a buffer and nulls the local variable that held it.

Parameters:

  • $buffer (buffer)

Returns: void

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how buffer_free is implemented in the compiler, see the internals page.