예제 #1
0
 public LineBasedFrameEncoder(LineDelimiter delimiter)
 {
     if (delimiter == null)
     {
         throw new ArgumentNullException("delimiter");
     }
     _delimiter = delimiter;
 }
예제 #2
0
 public LineBasedFrameBuilder(LineDelimiter delimiter)
     : this(new LineBasedFrameEncoder(delimiter), new LineBasedFrameDecoder(delimiter))
 {
 }