Beispiel #1
0
        private void InitFrameSize()
        {
            DFFrame frame = new DFFrame(opt);

            frameSize = frame.Size;
            frame.Free();
        }
Beispiel #2
0
 public override void Start()
 {
     while ((Input.IsOpen) | (Input.Count > 0))
     {
         Frame = new DFFrame(opts);
         while (!Frame.IsFull)
         {
             byte[] temp = Input.Take(64);
             Frame.SetBlockArray(temp);
         }
         Output.Add(Frame.ToArray());
         Frame.Free();
     }
     Output.Complete();
 }
Beispiel #3
0
 public override void Start()
 {
     while ((Input.IsOpen) | (Input.Count > 0))
     {
         if (token.token)
         {
             break;
         }
         Frame = new DFFrame(opts);
         byte[] temp = Input.Take(Frame.Size);
         Frame.FromArray(temp);
         while ((!Frame.IsFull))
         {
             if (token.token)
             {
                 break;
             }
             temp = Frame.GetBlockArray();
             Output.Add(temp);
         }
         Frame.Free();
     }
     Output.Complete();
 }