如何解译/解释十六进制编辑器中显示的文件内容? [英] How to decipher/interpret the contents of a file as shown in a Hex editor?

查看:431
本文介绍了如何解译/解释十六进制编辑器中显示的文件内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于。两者都显示0x73616261,这意味着两者都是SQL CE 2.0版数据库文件。


In connection with this question, I downloaded a Hex Editor to see just what values my SDF file contained in a certain location, which is supposed to tell me what version of SQL Server CE the SDF file was created with.

I got the following info:

SQLCE Version
2.0: 0x73616261
3.0: 0x002dd714
3.5: 0x00357b9d
4.0: 0x003d0900

...from this page. But I don't know what I'm looking at; I don't know if I'm looking in the wrong column or row, and I know that once I do know where I need to be looking, that data has to be converted to correspond with what is shown in the chart above.

Can somebody tell me how to decipher this raw data, and which column and row I should be focused on?

Here is what I see with one (older) file loaded:

...and here is what I see with a newer one:

If I select Search > Goto..., set Offset to 16, hex format, and from the beginning:

...it takes me just before the second "20" on row two. By choosing "Decimal" it takes me to the beginning of the second row; I reckon that's correct.

解决方案

The data is stored little-endian. Both show 0x73616261, meaning both are SQL CE version 2.0 database files.

这篇关于如何解译/解释十六进制编辑器中显示的文件内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆