8 lines
No EOL
232 B
TypeScript
8 lines
No EOL
232 B
TypeScript
import { IReader } from "../../bufferStuff/readers/IReader";
|
|
import { Packet } from "../enums/Packet";
|
|
|
|
export interface IPacket {
|
|
packetId: Packet,
|
|
readData: (reader:IReader) => IPacket,
|
|
writeData: () => Buffer|Promise<Buffer>
|
|
} |