# Variable bytes`Const`

bytes: {
concat: ((...args) => Uint8Array);
decode: ((value) => string);
encode: ((value) => Uint8Array);
equals: ((lhs, rhs) => boolean);
zpad: ((arr, length, padStart?) => Uint8Array);
} = ...

#### Type declaration

- ##### concat: ((...args) => Uint8Array)

  - - (...args): Uint8Array

    - #### Parameters

      - ##### `Rest` ...args: Uint8Array[]

      #### Returns Uint8Array

- ##### decode: ((value) => string)

  - - (value): string

    - #### Parameters

      - ##### value: Uint8Array

      #### Returns string

- ##### encode: ((value) => Uint8Array)

  - - (value): Uint8Array

    - #### Parameters

      - ##### value: string

      #### Returns Uint8Array

- ##### equals: ((lhs, rhs) => boolean)

  - - (lhs, rhs): boolean

    - #### Parameters

      - ##### lhs: Uint8Array

      - ##### rhs: Uint8Array

      #### Returns boolean

- ##### zpad: ((arr, length, padStart?) => Uint8Array)

  - - (arr, length, padStart?): Uint8Array

    - #### Parameters

      - ##### arr: Uint8Array

      - ##### length: number

      - ##### padStart: boolean = true

      #### Returns Uint8Array

- Defined in core/base/src/utils/encoding.ts:54

Generated using TypeDoc