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