public Parse ( ExtendedBinaryReader br ) : void | ||
br | ExtendedBinaryReader | |
return | void |
public virtual void Parse(ExtendedBinaryReader br) { if (BoxHeader == null) { BoxHeader = new F4VBoxHeader(); BoxHeader.Parse(br); } }
public F4VBoxHeader ReadHeader() { if (currentHeader != null) { if (currentHeader.TotalSize == 0) throw new Exception("EOF Found before next header"); br.SkipBytes(currentHeader.ExtendedSize ?? currentHeader.TotalSize); } currentHeader = new F4VBoxHeader(); currentHeader.Parse(br); return currentHeader; }