@qualithm/mqtt-wire - v0.1.5
    Preparing search index...

    Function decodeUtf8

    • Decodes UTF-8 bytes to a string.

      Does not validate MQTT restrictions; use validateMqttUtf8 if validation is needed.

      Parameters

      • bytes: Uint8Array

        The UTF-8 bytes to decode

      Returns DecodeResult<string>

      DecodeResult with the decoded string or error