method LaneLoudness.from_bytes
LaneLoudness.from_bytes(bytes)

Instantiate LaneLoudness from bytes

Parameters

bytes

Lane loudness data in bytes

Return Type

Throws

TypeError

If bytes is not Uint8Array

RangeError

If bytes length is not 2 (1 data must be 2 bytes)

Usage

import { LaneLoudness } from "static/packet_conv/LaneLoudness.js";