private void WriteUInt16(EntryOffsets fromOffset, ushort data) { this.indexView.Write(this.Offset + (long)fromOffset, EndianHelper.Swap(data)); }
private ushort ReadUInt16(EntryOffsets fromOffset) { return(EndianHelper.Swap(this.indexView.ReadUInt16(this.Offset + (long)fromOffset))); }
private uint ReadUInt32(EntryOffsets fromOffset) { return EndianHelper.Swap(this.indexView.ReadUInt32(this.Offset + (long)fromOffset)); }
public static bool HasInitializedCTimeEntry(MemoryMappedViewAccessor indexView, long offset) { return(EndianHelper.Swap(indexView.ReadUInt32(offset + (long)EntryOffsets.ctimeSeconds)) != 0); }
public static bool HasUninitializedCTimeEntry(Index index, long offset) { return(EndianHelper.Swap(index.indexView.ReadUInt32(offset + (long)EntryOffsets.ctimeSeconds)) == 0); }