Function readZString

  • Reads a zero-terminated string from the buffer.

    Parameters

    • data: Buffer

      The buffer that contains the string data.

    Returns string

    Returns the string data.