function

winapi.wstrtoastr

Signature

function winapi.wstrtoastr(
  addr: userdata
) -> string

Returns a UTF-8 Lua string representing the 16-bit Unicode memory at the given address.

This is the inverse of the L function.