コード例 #1
0
 public MemoryBlock(
     MemoryBlockType type,
     long sizeInBytes)
 {
     this.impl_ = new NestedRanges <IMemoryRange?>(null, this, sizeInBytes);
     this.Type  = type;
 }
コード例 #2
0
 private MemoryBlock(
     INestedRanges <IMemoryRange?> impl,
     MemoryBlockType type)
 {
     this.impl_ = impl;
     this.Type  = type;
 }
コード例 #3
0
 public MemoryPointer(
     INestedRanges <IMemoryRange?> impl,
     Action <EndianBinaryReader> readHandler,
     Action <EndianBinaryWriter> writeHandler)
 {
     this.Impl          = impl;
     this.readHandler_  = readHandler;
     this.writeHandler_ = writeHandler;
 }