ethers.js/packages/abi/coders/fixed-bytes.d.ts
2019-05-14 18:48:48 -04:00

9 lines
327 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);
encode(writer: Writer, value: BytesLike): number;
decode(reader: Reader): any;
}