Umi — API References - v1.3.0
    Preparing search index...

    Variable padBytesConst

    padBytes: (bytes: Uint8Array, length: number) => Uint8Array = _padBytes

    Type Declaration

      • (bytes: Uint8Array, length: number): Uint8Array
      • Pads a Uint8Array with zeroes to the specified length. If the array is longer than the specified length, it is returned as-is.

        Parameters

        • bytes: Uint8Array
        • length: number

        Returns Uint8Array

    import from "@metaplex-foundation/umi/serializers" instead.