Skip to main content

$bufferToString

Converts a Buffer instance stored in a variable to a string.

Parameters

ParameterDescription
nameThe name of the variable storing the buffer

Example

<AoiClient>.addCommand({
name: "convert-buffer-to-string",
code: `
$bufferToString[myBuffer]
`,
});