ethers.js/packages/abi/lib/coders/fixed-bytes.d.ts
2020-11-23 03:43:28 -05:00

10 lines
355 B
TypeScript

import { BytesLike } from "@ethersproject/bytes";
import { Coder, Reader, Writer } from "./abstract-coder";
export declare class FixedBytesCoder extends Coder {
readonly size: number;
constructor(size: number, localName: string);
defaultValue(): string;
encode(writer: Writer, value: BytesLike): number;
decode(reader: Reader): any;
}