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); }
public override void WritePacket(Client client) { client.WriteString(FileName); client.WriteByteArray(FileBytes); }
public override void WritePacket(Client client) { client.WriteString(Path); }