Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function decodeFrame

    • Decode one text frame.

      Never throws: every rejection comes back as kind: 'malformed' carrying the code a caller should answer with. A control endpoint that threw on garbage would tear down the socket over a single bad frame.

      Parameters

      • raw: string

      Returns DecodedFrame