Beispiel #1
0
 public StringDecoder(int sizeQuota)
 {
     _sizeQuota    = sizeQuota;
     _sizeDecoder  = new IntDecoder();
     _currentState = State.ReadingSize;
     Reset();
 }
Beispiel #2
0
 public ClientDuplexDecoder(long streamPosition)
     : base(streamPosition)
 {
     _sizeDecoder = new IntDecoder();
 }
Beispiel #3
0
 public SingletonMessageDecoder(long streamPosition)
     : base(streamPosition)
 {
     _sizeDecoder  = new IntDecoder();
     _currentState = State.ChunkStart;
 }