import { network } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { PacketCodec } = network;
Constructors
new
PacketCodec(connection: Connection)Properties
private
_conn: ConnectionMethods
encodePacket(_data: Buffer): Buffer
readPacket(_reader: PromisedNetSockets | PromisedWebSockets): Promise<Buffer>