ethers.js/packages/abi/lib/coders/fixed-bytes.d.ts

12 lines
493 B
TypeScript
Raw Permalink Normal View History

2022-04-11 17:14:19 -04:00
import { Typed } from "../typed.js";
import { Coder } from "./abstract-coder.js";
import type { BytesLike } from "@ethersproject/bytes";
import type { Reader, Writer } from "./abstract-coder.js";
export declare class FixedBytesCoder extends Coder {
readonly size: number;
constructor(size: number, localName: string);
defaultValue(): string;
encode(writer: Writer, _value: BytesLike | Typed): number;
decode(reader: Reader): any;
}
//# sourceMappingURL=fixed-bytes.d.ts.map