コード例 #1
0
 public MemoryViewStream(bool readable, bool writable, long ptr, long length, MemoryBlockBase owner)
 {
     _readable = readable;
     _writable = writable;
     _ptr      = ptr;
     _length   = length;
     _owner    = owner;
     _pos      = 0;
 }
コード例 #2
0
 public MemoryViewXorStream(bool readable, bool writable, long ptr, long length, MemoryBlockBase owner, byte[] initial, long offset)
     : base(readable, writable, ptr, length, owner)
 {
     _initial = initial;
     _offset  = (int)offset;
 }