/// <summary> /// Writes a member of the specified type at the specified offset. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="offset">The offset.</param> /// <returns></returns> protected void WriteField <T>(StaticOffsets offset, T value) where T : struct { WriteField <T>((int)offset, value); }
/// <summary> /// Reads a member of the specified type at the specified offset. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="offset">The offset.</param> /// <returns></returns> protected T ReadField <T>(StaticOffsets offset) where T : struct { return(ReadField <T>((int)offset)); }