示例#1
0
 public PacketsToUDP(string host, int port, int bitsPerSecond, IPacketSource source)
 {
     _port          = port;
     _source        = source.Iterator();
     _bitsPerSecond = bitsPerSecond;
     _host          = host;
 }
示例#2
0
 public static IEnumerable <byte[]> MaybeUniqueByteArray(IPacketSource source)
 {
     return(MaybeUniqueByteArray(source.Iterator()));
 }
示例#3
0
 public static IEnumerable <byte[]> BitsPerSecond(int bitsPerSecond, IPacketSource source)
 {
     return(BitsPerSecond(bitsPerSecond, source.Iterator()));
 }