9 lines
300 B
TypeScript
9 lines
300 B
TypeScript
/**
|
|
* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.
|
|
*/
|
|
export declare class ExtData {
|
|
readonly type: number;
|
|
readonly data: Uint8Array | ((pos: number) => Uint8Array);
|
|
constructor(type: number, data: Uint8Array | ((pos: number) => Uint8Array));
|
|
}
|