UNPKG

938 BTypeScriptView Raw
1/// <reference types="node" />
2export declare abstract class CalldataBlock {
3 private readonly _signature;
4 private readonly _parentName;
5 private _name;
6 private _offsetInBytes;
7 private _headerSizeInBytes;
8 private _bodySizeInBytes;
9 constructor(name: string, signature: string, parentName: string, headerSizeInBytes: number, bodySizeInBytes: number);
10 protected _setHeaderSize(headerSizeInBytes: number): void;
11 protected _setBodySize(bodySizeInBytes: number): void;
12 protected _setName(name: string): void;
13 getName(): string;
14 getParentName(): string;
15 getSignature(): string;
16 getHeaderSizeInBytes(): number;
17 getBodySizeInBytes(): number;
18 getSizeInBytes(): number;
19 getOffsetInBytes(): number;
20 setOffset(offsetInBytes: number): void;
21 computeHash(): Buffer;
22 abstract toBuffer(): Buffer;
23 abstract getRawData(): Buffer;
24}
25//# sourceMappingURL=calldata_block.d.ts.map
\No newline at end of file