mirror of
https://github.com/lionsoul2014/ip2region.git
synced 2025-12-08 19:25:22 +00:00
tab to space
This commit is contained in:
parent
0c68fd1ed8
commit
b66471f0ba
@ -37,13 +37,13 @@
|
|||||||
//
|
//
|
||||||
// data entry structure:
|
// data entry structure:
|
||||||
// +--------------------+-----------------------+
|
// +--------------------+-----------------------+
|
||||||
// | 2bytes (for desc) | dynamic length |
|
// | 2bytes (for desc) | dynamic length |
|
||||||
// +--------------------+-----------------------+
|
// +--------------------+-----------------------+
|
||||||
// data length whatever in bytes
|
// data length whatever in bytes
|
||||||
//
|
//
|
||||||
// index entry structure
|
// index entry structure
|
||||||
// +------------+-----------+---------------+------------+
|
// +------------+-----------+---------------+------------+
|
||||||
// | 4bytes | 4bytes | 2bytes | 4 bytes |
|
// | 4bytes | 4bytes | 2bytes | 4 bytes |
|
||||||
// +------------+-----------+---------------+------------+
|
// +------------+-----------+---------------+------------+
|
||||||
// start ip end ip data length data ptr
|
// start ip end ip data length data ptr
|
||||||
|
|
||||||
|
|||||||
@ -39,13 +39,13 @@
|
|||||||
//
|
//
|
||||||
// data entry structure:
|
// data entry structure:
|
||||||
// +--------------------+-----------------------+
|
// +--------------------+-----------------------+
|
||||||
// | 2bytes (for desc) | dynamic length |
|
// | 2bytes (for desc) | dynamic length |
|
||||||
// +--------------------+-----------------------+
|
// +--------------------+-----------------------+
|
||||||
// data length whatever in bytes
|
// data length whatever in bytes
|
||||||
//
|
//
|
||||||
// index entry structure
|
// index entry structure
|
||||||
// +------------+-----------+---------------+------------+
|
// +------------+-----------+---------------+------------+
|
||||||
// | 4bytes | 4bytes | 2bytes | 4 bytes |
|
// | 4bytes | 4bytes | 2bytes | 4 bytes |
|
||||||
// +------------+-----------+---------------+------------+
|
// +------------+-----------+---------------+------------+
|
||||||
// start ip end ip data length data ptr
|
// start ip end ip data length data ptr
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user