コード例 #1
0
 public static uint GetOffsetUInt16([NotNull] this ISegmentFile source, int offset) => source.GetOffsetUInt16(source.SegmentToAbsoluteOffset(offset));
コード例 #2
0
 public static byte GetOffsetByte([NotNull] this ISegmentFile source, int offset) => source.GetOffsetByte(source.SegmentToAbsoluteOffset(offset));
コード例 #3
0
 public static void SetOffsetValue([NotNull] this ISegmentFile source, int offset, uint value) => source.SetOffsetValue(source.SegmentToAbsoluteOffset(offset), value);
コード例 #4
0
 public static void SetOffsetBytes([NotNull] this ISegmentFile source, int offset, byte[] bytes) => source.SetOffsetBytes(source.SegmentToAbsoluteOffset(offset), bytes);
コード例 #5
0
 public static byte[] GetOffsetBytes([NotNull] this ISegmentFile source, int offset, int length) => source.GetOffsetBytes(source.SegmentToAbsoluteOffset(offset), length);