예제 #1
0
 public override void WritePacket(Client client)
 {
     client.WriteLong((long)Count);
     client.WriteLong((long)Offset);
     client.WriteByteArray(Content, 0, (int)Count); // NOTE: The buffer could be larger then the count of bytes!!
     client.WriteString(Path);
 }
예제 #2
0
 public override void WritePacket(Client client)
 {
     client.WriteString(FileName);
     client.WriteByteArray(FileBytes);
 }
 public override void WritePacket(Client client)
 {
     client.WriteString(Path);
 }