MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / MySender

Class MySender

projects/CSharp/Examples/SendReceive/Program.cs:8–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace SendReceive
7{
8 public class MySender : Sender, ISenderListener
9 {
10 public long OnSend(byte[] buffer, long offset, long size)
11 {
12 // Send nothing...
13 return 0;
14 }
15
16 public void OnSendLog(string message)
17 {
18 Console.WriteLine($"OnSend: {message}");
19 }
20 }
21
22 public class MyReceiver : Receiver, IReceiverListener
23 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected