Exemple #1
0
 public PacketWriter(SendOpcode opcode)
     : this(opcode, DefaultBuffer)
 {
 }
Exemple #2
0
 public PacketWriter(SendOpcode opcode, int buffersize)
     : base(new MemoryStream(buffersize), Enc)
 {
     Write((byte)opcode);
 }
Exemple #3
0
 public PacketWriter(SendOpcode opcode)
     : this(opcode, DefaultBuffer)
 {
 }
Exemple #4
0
 public DataOutputStream(SendOpcode op)
 {
     this.WriteShort((short)op);
 }
Exemple #5
0
 public PacketWriter(SendOpcode opcode, int buffersize)
     : base(new MemoryStream(buffersize), Enc)
 {
     Write((byte)opcode);
 }