dht-flood/dist/messages.d.ts

39 lines
1.3 KiB
TypeScript
Raw Normal View History

2022-11-15 19:28:57 +00:00
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* @generated from protobuf message Packet
*/
2022-12-30 05:03:56 +00:00
export interface Packet {
2022-11-15 19:28:57 +00:00
/**
* @generated from protobuf field: bytes originId = 1;
*/
2022-11-15 18:48:21 +00:00
originId: Uint8Array;
2022-11-15 19:28:57 +00:00
/**
* @generated from protobuf field: uint32 messageNumber = 2;
*/
2022-11-15 18:48:21 +00:00
messageNumber: number;
2022-11-15 19:28:57 +00:00
/**
* @generated from protobuf field: uint32 ttl = 3;
*/
2022-11-15 18:48:21 +00:00
ttl: number;
2022-11-15 19:28:57 +00:00
/**
* @generated from protobuf field: bytes data = 4;
*/
2022-11-15 18:48:21 +00:00
data: Uint8Array;
}
2022-12-30 05:03:56 +00:00
declare class Packet$Type extends MessageType<Packet> {
2022-11-15 19:28:57 +00:00
constructor();
2022-12-30 05:03:56 +00:00
create(value?: PartialMessage<Packet>): Packet;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Packet): Packet;
internalBinaryWrite(message: Packet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2022-11-15 19:28:57 +00:00
}
/**
* @generated MessageType for protobuf message Packet
*/
export declare const Packet: Packet$Type;
2022-11-15 18:48:21 +00:00
export {};
//# sourceMappingURL=messages.d.ts.map