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