Example #1
0
                public Logic(DelimiterFramingStage stage) : base(stage.Shape)
                {
                    _stage = stage;
                    _firstSeparatorByte = stage._separatorBytes[0];

                    SetHandler(stage.Inlet, stage.Outlet, this);
                }
Example #2
0
                public Logic(DelimiterFramingStage stage) : base(stage.Shape)
                {
                    _stage = stage;
                    _firstSeparatorByte = stage._separatorBytes[0];
                    _buffer             = ByteString.Empty;

                    SetHandler(stage.In, this);
                    SetHandler(stage.Out, this);
                }