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