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 | |
return | void |
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); }
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; }