Beispiel #1
0
 public ArcViewStream(ArcView.Frame view, string name = null)
 {
     m_view     = view;
     m_start    = m_view.Offset;
     m_size     = m_view.Reserved;
     m_position = 0;
     Name       = name ?? "";
 }
Beispiel #2
0
 public ArcViewStream(ArcView.Frame view, long offset, uint size, string name = null)
 {
     m_view     = view;
     m_start    = offset;
     m_size     = Math.Min(size, m_view.Reserve(offset, size));
     m_position = 0;
     Name       = name ?? "";
 }
Beispiel #3
0
 public ArcViewStream(ArcView file)
 {
     m_view     = file.CreateFrame();
     m_start    = 0;
     m_size     = file.MaxOffset;
     m_position = 0;
     Name       = file.Name;
 }
Beispiel #4
0
 public ArcViewStream(ArcView file, long offset, uint size, string name = null)
 {
     m_view     = new ArcView.Frame(file, offset, Math.Min(size, MaxFrameSize));
     m_start    = offset;
     m_size     = size;
     m_position = 0;
     Name       = name;
 }