Beispiel #1
0
 public ThriftMessageEncoder(ThriftOptions options = null)
 {
     _opts = options ?? ThriftOptions.DefaultOptions;
 }
 // todo: maxFrameLength + safe skip + fail-fast option (just like LengthFieldBasedFrameDecoder)
 public ThriftMessageDecoder(TProtocolFactory inputProtocolFactory, ThriftOptions options = null)
 {
     this._opts = options ?? ThriftOptions.DefaultOptions;
     this._inputProtocolFactory = inputProtocolFactory;
 }