コード例 #1
0
 public static BlockMap WithSuccessor(this BlockMap map, int offset, int count)
 {
     map.AssignBytes(offset + count + 1, count);
     return map;
 }
コード例 #2
0
 public static BlockMap WithImmediatePredecessor(this BlockMap map, int offset, int count)
 {
     map.AssignBytes(offset - count, count);
     return map;
 }
コード例 #3
0
 public static BlockMap WithIntersectingPredecessor(this BlockMap map, int offset, int count)
 {
     map.AssignBytes(offset - count + 1, count);
     return map;
 }
コード例 #4
0
 public static BlockMap WithBlock(this BlockMap map, int offset, int count)
 {
     map.AssignBytes(offset, count);
     return map;
 }