2023-03-03 18:25:07 -07:00
|
|
|
import { Typed } from "../typed.js";
|
|
|
|
import { Coder } from "./abstract-coder.js";
|
|
|
|
import type { BigNumberish } from "../../utils/index.js";
|
|
|
|
import type { Reader, Writer } from "./abstract-coder.js";
|
|
|
|
/**
|
|
|
|
* @_ignore
|
|
|
|
*/
|
|
|
|
export declare class NumberCoder extends Coder {
|
|
|
|
readonly size: number;
|
|
|
|
readonly signed: boolean;
|
|
|
|
constructor(size: number, signed: boolean, localName: string);
|
|
|
|
defaultValue(): number;
|
|
|
|
encode(writer: Writer, _value: BigNumberish | Typed): number;
|
|
|
|
decode(reader: Reader): any;
|
|
|
|
}
|
2023-04-27 21:19:55 +09:00
|
|
|
//# sourceMappingURL=number.d.ts.map
|