@anzaui/engine - v0.6.0
    Preparing search index...

    Function decodeLength

    • Decode exactly length bytes of lowercase hex.

      Parameters

      • text: string

        The hex string.

      • length: number

        Expected number of bytes.

      Returns Buffer<ArrayBufferLike> | null

      The bytes, or null for anything else.