Reset() 공개 메소드

public Reset ( byte ht, uint ci, uint ts, uint ml, byte mt, uint si, bool ia = false ) : void
ht byte
ci uint
ts uint
ml uint
mt byte
si uint
ia bool
리턴 void
예제 #1
0
        public static Header VH(byte ht, uint cid, uint ts, uint ml, byte mt, uint si, bool ia)
        {
            var header = new Header();

            header.Reset(ht, cid, ts, ml, mt, si, ia);
            return(header);
        }
예제 #2
0
 public void Reset()
 {
     state = CS_HEADER;
     inputData.BaseStream.SetLength(0);
     lastInHeader.Reset();
     lastInHeaderType = 0;
     lastInProcBytes  = 0;
     lastInAbsTs      = 0;
     lastInStreamId   = 0xffffffff;
     lastOutHeader.Reset();
     lastOutHeaderType = 0;
     lastOutProcBytes  = 0;
     lastOutAbsTs      = 0;
     lastOutStreamId   = 0xffffffff;
 }
 public static Header VH(byte ht,uint cid,uint ts,uint ml,byte mt,uint si,bool ia)
 {
     var header = new Header();
     header.Reset(ht,cid,ts,ml,mt,si,ia);
     return header;
 }