MCPcopy Create free account
hub / github.com/AlSch092/UltimateAntiCheat / PacketWriter

Method PacketWriter

Server/Network/PacketWriter.cs:36–42  ·  view source on GitHub ↗
(short opcode, int size = DefaultBufferSize)

Source from the content-addressed store, hash-verified

34 }
35
36 public PacketWriter(short opcode, int size = DefaultBufferSize)
37 {
38 m_stream = new MemoryStream(size);
39 m_disposed = false;
40 //WriteShort(); //place folder for len
41 WriteShort(opcode);
42 }
43
44 public PacketWriter()
45 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected