Function s2BytesToHeader

  • Parse raw header bytes into a Header object.

    Parameters

    • bytes: Uint8Array

      the raw header bytes

    Returns S2Header

    the parsed header