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