コード例 #1
0
 public Section(FramedStream stream)
 {
     stream.PushFrame(12);
     Header = new SectionHeader(stream);
     stream.PopFrame();
     stream.PushFrame(Header.Size);
     Data = SectionData.FromStream(Header, stream);
     stream.PopFrame();
 }
コード例 #2
0
ファイル: Section.cs プロジェクト: vashage/SA-World-Viewer
 public Section( FramedStream stream )
 {
     stream.PushFrame( 12 );
     Header = new SectionHeader( stream );
     stream.PopFrame();
     stream.PushFrame( Header.Size );
     Data = SectionData.FromStream( Header,  stream );
     stream.PopFrame();
 }
コード例 #3
0
            public FramedStream ReadFile(String name)
            {
                ImageArchiveEntry entry  = myFileDict[name];
                FramedStream      stream = new FramedStream(myStream);

                stream.PushFrame(entry.Offset, entry.Size);
                return(stream);
            }