Skip to main content

Buffer

Description:

  A buffer of string for the use of ImGui widget.

Class Object: Buffer Class.

Inherits from: Object.

size

Type: Readonly Field.

Description:

  The size of the buffer.

Signature:

const size: integer

text

Type: Field.

Description:

  Getting or setting the text stored in the buffer.

Signature:

text: string

resize

Type: Function.

Description:

  Changing the size of the buffer.

Signature:

resize: function(self: Buffer, size: integer)

Parameters:

ParameterTypeDescription
sizeintegerThe new size of the buffer.

zeroMemory

Type: Function.

Description:

  Setting all bytes in the buffer to zero.

Signature:

zeroMemory: function(self: Buffer)