Umi — API References - v1.3.0
    Preparing search index...
    • Fixes a Uint8Array to the specified length. If the array is longer than the specified length, it is truncated. If the array is shorter than the specified length, it is padded with zeroes.

      Parameters

      • bytes: Uint8Array
      • length: number

      Returns Uint8Array