Skip to main content

$bufferLength

Retrieves the length of a Buffer instance stored in a variable.

Parameters

ParameterDescription
nameThe name of the variable storing the buffer

Example

<AoiClient>.addCommand({
name: "get-buffer-length",
code: `
$bufferLength[myBuffer]
`,
});