public Section(FramedStream stream) { stream.PushFrame(12); Header = new SectionHeader(stream); stream.PopFrame(); stream.PushFrame(Header.Size); Data = SectionData.FromStream(Header, stream); stream.PopFrame(); }
public Section( FramedStream stream ) { stream.PushFrame( 12 ); Header = new SectionHeader( stream ); stream.PopFrame(); stream.PushFrame( Header.Size ); Data = SectionData.FromStream( Header, stream ); stream.PopFrame(); }
public FramedStream ReadFile(String name) { ImageArchiveEntry entry = myFileDict[name]; FramedStream stream = new FramedStream(myStream); stream.PushFrame(entry.Offset, entry.Size); return(stream); }