bytes.d.ts 373 B

123456789101112
  1. import { ValidInputTypes } from '../types.js';
  2. /**
  3. * checks input if typeof data is valid Uint8Array input
  4. */
  5. export declare const isUint8Array: (data: ValidInputTypes) => boolean;
  6. export declare const isBytes: (value: ValidInputTypes | Uint8Array | number[], options?: {
  7. abiType: string;
  8. size?: never;
  9. } | {
  10. size: number;
  11. abiType?: never;
  12. }) => boolean;