Exemplo n.º 1
0
 /// <summary>
 /// Process available data in a stream
 /// </summary>
 /// <param name="Stream"></param>
 /// <param name="Available">How many bytes can be read from Stream</param>
 public void ReadRecv(Stream Stream, int Available)
 {
     recvReader.Read(Stream, Available);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Reads a sent traffic chunk from byte[]
 /// </summary>
 /// <param name="Buffer"></param>
 /// <param name="MemoryAddress"></param>
 /// <param name="Available"></param>
 public void ReadSend(byte[] Buffer, IntPtr MemoryAddress, int Available)
 {
     sendReader.Read(Buffer, MemoryAddress, Available);
 }