Skip to content

Commit

Permalink
修改READme
Browse files Browse the repository at this point in the history
  • Loading branch information
ls0f committed Aug 22, 2015
1 parent c7039d7 commit a5c4530
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ p.find(1888888)
-----------------------
```
`头部` 头部为8个字节,版本号为4个字节,第一个索引的偏移为4个字节(<4si)。
`记录区` 中每条记录的格式为"\<省份\>|\<城市\>|\<邮编\>|\<长途区号\>\0"。 每条记录以'\0'结束。
`索引区` 中每条记录的格式为"<手机号前七位><记录区的偏移><卡类型>",每个索引的长度为9个字节(`<iiB`)。

* `头部` 头部为8个字节,版本号为4个字节,第一个索引的偏移为4个字节(<4si)。
* `记录区` 中每条记录的格式为"\<省份\>|\<城市\>|\<邮编\>|\<长途区号\>\0"。 每条记录以'\0'结束。
* `索引区` 中每条记录的格式为"<手机号前七位><记录区的偏移><卡类型>",每个索引的长度为9个字节(`<iiB`)。

解析步骤:

Expand Down

0 comments on commit a5c4530

Please sign in to comment.