Parse() public method

public Parse ( ExtendedBinaryReader br ) : void
br ExtendedBinaryReader
return void
Ejemplo n.º 1
0
 public virtual void Parse(ExtendedBinaryReader br)
 {
     if (BoxHeader == null)
     {
         BoxHeader = new F4VBoxHeader();
         BoxHeader.Parse(br);
     }
 }
Ejemplo n.º 2
0
 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;
 }